Skip to content

fab-four/apar-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APAR Backend

Instructions to continue development

1. Installing Prerequisites

For linux environment:

  1. Before you begin installing make sure you run sudo apt update to get the latest version available.

    sudo apt update
    
  2. Install node.js and npm. For details/query click here.

    sudo apt install nodejs
    sudo apt install npm
    
  3. Install MongoDB. For details/query click here.

    sudo apt install -y mongodb
    

For windows environment:

  1. Install node.js and npm from official website. For help refer this video.

  2. Install MongoDB. For details/query refer:

2. Install project dependencies

Install js dependencies using npm.

npm install

3. Application Configuration

Create a duplicate file of .env.default as .env .

4. Setup Database

  1. Start MongoDB server

    monogd
    
  2. Import users.json to database. For help/query refer.

    mongoimport --db apar --collection users --file .\users.json
    

5. Continue development

  1. Start MongoDB server

    mongod
    
  2. Start local development server.

    If windows:

    npm start
    

    If linux:

    npm start2
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •