System designing project for my college lecture. Contributors:
- Anıl Karaşah (me)
- Nasır Sabır @nasirsabir
- Atakan Arslan @taqanarslan
- Yasemin Atmaca @yaseminatmaca
- Umut Deşer @deserumut
- Clone this repository to a local folder on your computer.
- Open a command prompt on that folder.
- Type
npm init
. Required modules will get downloaded to a folder. - Type
npm start
. - Server should open.
- NODE_ENV (
development
orproduction
) - PORT
- DATABASE (MongoDB Atlas connection string)
- DATABASE_PASSWORD (password for Atlas)
- JWT_SECRET (a string for hashing JSON Web Token)
- JWT_EXPIRES_IN (default: 90d)
- JWT_COOKIE_EXPIRES_IN (default: 30)
You can view the documentation of the API through Postman Documentation of EMS