Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.12 KB

README.md

File metadata and controls

27 lines (19 loc) · 1.12 KB

layer-edge-backend

Getting started

Setting up a project

  • Move into your projects directory: cd ~/YOUR_PROJECTS_DIRECTORY
  • Clone this repository provided you have the correct access rights: git clone http://repo.antiersolutions.com/saurabh.singh943/layer-edge YOUR_PROJECT_NAME
  • Move into the project directory: cd YOUR_PROJECT_NAME
  • Install the dependencies: npm install
  • Create a new repo on GitHub: https://github.com/new
    • Make sure the "Initialize this repository with a README" option is left unchecked

Working on the project

  • Move into the project directory: cd ~/YOUR_PROJECTS_DIRECTORY/YOUR_PROJECT_NAME
  • Make sure you have the correct env file with the proper credentials.
  • Run the development task: npm start

Databases

  • The project is configured to connect to a MongoDB database using Mongoose. The .env file needs the mongo url.

Private Node

  • User balance fetching and transfer is done in Private Node. Make sure to add the credentials of node in environment file.