Skip to content

monday-hazard/electronictales-contributions-bo

Repository files navigation

electronictales-contributions-bo

How to install the project

  1. Clone the project on your local device :
git clone https://github.com/monday-hazard/electronictales-contributions-bo.git

You may need to install SSH keys locally, see GitHub or Gitlab docs for this.

  1. Install dependencies

A custom script allows you to install node_modules for both server and client sides of the project.

npm run dep
  1. Connect to your database

Create default.json with your database logins (secret key etc)

  1. Test the connection

In a terminal in the current project, run :

npm run server

You're good if it says that the mangoose got the couleuvre. Otherwise, check if your Internect connection uses a proxy, or if you made an error in your default.json

How to run the project

In a terminal in the current project...

  • to run the client and the server concurrently, run :
npm run dev
  • to run the server only, run:
npm run server
  • to run the client only, run:
npm run client

Authentication

For the authentication middleware, add in your local default.json a secret token as following :

{ "jwtToken": "value-of-your-secret-token" }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published