Skip to content
Snippets Groups Projects
  1. Dec 12, 2021
  2. Dec 08, 2021
  3. Dec 07, 2021
    • fu1106jv's avatar
      Merge branch '18-create-email-templates-and-implement-sending-from-backend' into 'main' · b40c50ef
      fu1106jv authored
      Implement Mail Sending & Template
      
      - added sending mails via nodemailer  -> .env may need to be updated
      - added template loading from server/src/assets
      	* special email html for readability across multiple mail clients
      	* expressions inside {{}} are replaced by the values of the replace argument in the sendMail function
      	* templates are both in txt and html for mail clients that don't support html
      
      Closes #18
      
      See merge request swp-ws21-fahrtenbuch/team-einhorn/fahrtenbuch!10
      b40c50ef
  4. Dec 06, 2021
  5. Dec 04, 2021
  6. Dec 01, 2021
    • fu1106jv's avatar
      - forgot .env.example · d052b1cc
      fu1106jv authored
      - removed process env check (already verified after transporter creation)
      d052b1cc
    • fu1106jv's avatar
      - added sending mails via nodemailer -> .env may need to be updated · b143250e
      fu1106jv authored
      - added template loading from server/src/assets
      	* special email html for readability across multiple mail clients
      	* expressions inside {{}} are replaced by the values of the replace argument in the sendMail function
      	* templates are both in txt and html for mail clients that don't support html
      b143250e
    • fu1106jv's avatar
      Merge branch '16-fix-pipeline' into 'main' · 05211cee
      fu1106jv authored
      Resolve "Fix Pipeline"
      
      Closes #16
      
      See merge request swp-ws21-fahrtenbuch/team-einhorn/fahrtenbuch!8
      05211cee
    • alexander06's avatar
      Resolve "Fix Pipeline" · 08ba07ef
      alexander06 authored and fu1106jv's avatar fu1106jv committed
      **What did I do?**
      
      * change `.gitlab-ci.yml` to basically reproduce docker compose up and npm run jest
        1. Go into server and run `npm install`
        1. Go into client and run `npm install`
        1. Go into server and run `npm run build`
        1. Go into server, start the server and run all tests in `server/tests`
        1. Go into server, start the server, go into client, start the client and run all tests in `client/tests`
      * Create Testing documentation under `doc/testing.md`
      * install `jest` and `ts-jest` and all their dependencies as dev-dependencies
      * Create config files for jest under `client/jest.config.js` and `server/jest.config.js`
      * Create basic tests that also serve as examples under `server/tests/connection.test.ts` and `client/tests/connection.test.ts`
        * The server tests basically try some GET requests to some API Endpoints defined in `server/src/routes.ts` and expect 404 errors
        * The client just polls the index.html file of the frontend
      * change the `tsconfig.json` files to lint(?) the test directories
      08ba07ef
    • alrwasheda's avatar
      test database-connection · 8c1aa256
      alrwasheda authored
      8c1aa256
  7. Nov 28, 2021
  8. Nov 24, 2021
  9. Nov 23, 2021
  10. Nov 22, 2021
  11. Nov 18, 2021
  12. Nov 11, 2021
  13. Nov 10, 2021
  14. Nov 08, 2021
    • Leander Tolksdorf's avatar
      Forgot some files in my last commit · 91a10719
      Leander Tolksdorf authored
      91a10719
    • Leander Tolksdorf's avatar
      Pretty big commit. What I've done: · 125bb28a
      Leander Tolksdorf authored
      - Split server and client into two separate packages.
      - Update README with info on how to start dev server locally
      - Client
      	- Update react-router-dom to v6
      	- Separate page components from UI components
      	- Add "proxy" field to package.json for proxying api requests to the backend server
      - Server
      	- Update path of static file serving to new client directory
      	- Update scripts
      125bb28a
Loading