GithubHelp home page GithubHelp logo

shad_backend's Introduction

Installation and setup guide

This project was initiated and developped by daniwalter001

Steps (developpement mode)

1 - Setup a PostgreSQL database

You will have to create a PostgreSQL database needed for the project to run. Informations like database name, root and root password will be used to fill the configuration file.

2 - Setup .env file

You will have to complete or custom the env file to make the project work on your own system. If not in the root folder, you must create a file named .env.

The default content:

DB_NAME="" #default HealthP2
DB_USERNAME=""
DB_PASSWORD=""
DB_HOST="localhost" #localhost for local project
PORT="2000"
BCRYPT_SALT=10
SUPPORT_EMAIL=""     # Email adress to send
                     # activation & stuffs mail
SUPPORT_EMAIL_PASS=""  # Pass generated by 
                       # (if using Gmail) to be used in app

These variables are not meant to be null or empty

2 - npm install

You must be sure to have node and npm installed. Running this command will automatically download packages that are need to run the projects

3 - nodemon

To run the server, you should make sure to have nodemon installed. If not you can do so by running in your terminal as root npm i -g nodemon

shad_backend's People

Contributors

daniwalter001 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.