User: [email protected] Password: test123
- ExpressJS
- Mongoose
- MongoDB
- JWT
- Passport.js
- Docker
- Jest
- ReactJS
- MaterializeCSS
- User can sign up.
- User can sign in.
- User can see listed users
- User can see his profile
- User can edit his profile
- User can change his password
- User can delete his account
A .env file is needed in root folder with the following content
DB_URL= 'your database connection string'
SECRET='your own secret'
PORT='your port'
-
A package.json was needed on the root folder where the .git folder is for deploying in heroku. I had to duplicate it from /server/package.json.
-
In docker, to make the docker-compose file read an .env file, t had to be in the same directoy. I had to change the path of dotenv in condig/db.js