Skip to content

Layer-Edge/BTC-Staking

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages