/ExpenseManagementSystem

RestAPI for a Wallet Management App created with Node.js and MongoDB

Primary LanguageJavaScript

Expense Management System

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

To Install

  1. Clone this repository to a local folder on your computer.
  2. Open a command prompt on that folder.
  3. Type npm init. Required modules will get downloaded to a folder.
  4. Type npm start.
  5. Server should open.

Required Environment Variables

  • NODE_ENV (development or production)
  • 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)

API Documentation

You can view the documentation of the API through Postman Documentation of EMS