Skip to content
 
 

Latest commit

 

History

1,282 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FeedZback

Demandez ou donnez du feedback à vos collègues !

Quick start

Server

  • Open your IDE in ./server directory

  • Create a file .env with the following environment variables:

PORT="3000"
CLIENT_URL="http://localhost:4200"
FIREBASE_PROJECT_ID="<SECRET_VALUE>"
FIREBASE_PRIVATE_KEY="<SECRET_VALUE>"
FIREBASE_CLIENT_EMAIL="<SECRET_VALUE>"
MAILGUN_USERNAME="<SECRET_VALUE>"
MAILGUN_KEY="<SECRET_VALUE>"
  • Run the following commands:
npm install
npm run start:dev

Client

  • Open your IDE in ./client directory

  • Run the following commands:

npm install
npm start

Continuous Integration / Continuous Deployment

This repository includes a fully integrated CI/CD script that works with CircleCI (see .circleci/config.yml). A more comprehensive documentation on pre-requisites and mandatory environment variables can be found there

On every push to any branch

The CI is configured to check that:

  • ✅ npm ci works properly
  • ✅ tests are all passing
  • ✅ linting has been applied
  • ✅ the server and clients build properly

Staging deployment

On pushes to dev branch (or alternately tagging a revision staging-X.Y.Z where X, Y, and Z are integers), the full stack is then deployed to staging:

Production deployment

On creating a release on Github and tagging a revision vX.Y.Z where X, Y, and Z are integers), the full stack is then deployed to production:

About

Demandez ou donnez du feedback à vos collègues !

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages