Skip to content

Starnoh254/Leave-App-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LEAVE APP BACKEND

  • The source code is a backend server created using node and express js.
  • The database used is MongoDb and the ORM used is Mongoose
  • All requests are made to this server through an API which can be accessed at http://localhost:4000

Installation

  1. Clone or download the repository from https://github.com/Starnoh254/Leave-App-Backend.git
  2. Navigate into the project folder i.e cd Leave-App-Backend
  3. Run npm install in your terminal to install all dependencies
  4. Create a .env file in the root directory of the project, add the following variables (replace with your own values):
    Note that you need NodeJS installed on your machine for this step.
  5. Once installation is complete, start the application by running node index.js in your terminal
    Make sure that MongoDB service is running before starting the application.
  6. Open Postman (or any HTTP client of your choice) and make request to http://localhost:4000/
    You should see "Server is up and listening on port 4000!" as the response if everything works correctly.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published