Deploying an Express server implements basic authentication, with Signin and Signup, using Mongo DB.
- express
- (.env) file
- PORT
- MONGOOSE_URI
- npm init -y
- npm i dotenv express cors mongoose bacse-64 bcrypt
- npm i -D jest supertest eslint
- sudo service mongodb start
- clone the repository
- run the command (nodemon)
-
test file (server.test.js)
-
run the command(npm test)