- To be able to test this project locally, you need to have the following tools on your local machine:
- You need to have NodeJS version between
6
higher and npm version6
or higher or yarn v1.15.0 or higher- Your local machine needs to be able to run terminal, Powershell, or bash commands
- Clone this repo by running
git clone https://github.com/Stackup-Rwanda/stackup2-barefoot-frontend.git
- Install all needed dependencies by running
npm install
oryarn
- Create a
.env
file - Copy all of the fields from
.env.example
, paste them in.env
file and provide values for them - Start Local server by running
npm start
oryarn start
to run it in production mode. npm run dev
oryarn run dev
to run it in development mode.- Go to
http://localhost:{{PORT}}/
=>{{PORT}} : is the port number that you precise in your.env
file
- Webpack 4 for bundling
- Express for serving the frontend
- GitHub and Git for Version control
- TravisCI for continuous integration
- JestJS for testing
- Enzyme for DOM testing
-
This application is deployed on heroku, we have two different versions, which are different by the app status, in staging mode or ready for production.
-
When the app is in staging mode is available on this link
https://stackup-barefoot.herokuapp.com/
=> This deployment happens automatically, whenever there is a new merging to develop branch -
When the app is ready for production is available on this link
https://immense-chamber-27847.herokuapp.com/
-
Whenever a new PR is opened, there is a new review app which is created and accessible in the browser which helps to access visualize your PR in the browser to check if it working as you wanted it to work.