ESA is an automated system to help Andela perform on-boarding and off-boarding processes for fellows joining or leaving engagements. This repository contains the frontend part of the project which basically reports data about what is going on in the backend.
- ReactJS
- Jest
The following should be installed in your machine:
- Clone this Repo with
$ git clone https://github.com/andela/bp-esa-frontend.git
- Change into the directory of the project
- Use
$ yarn install
to install all the dependencies of the project. - Create a
.env
file in project root and define variables from.env.sample
file - Use
$ yarn start
to start the application. - Use
$ yarn test
to execute the tests of the application.
On the terminal run the following commands:
-
docker-compose
docker-compose -f docker-compose.local.yml up
-
Using a shell script and static server
- Build application files by running the following shell script
./docker-serve
- Exist the terminal process
- Run the finished build by using the following command
serve -s build -l PORT-NUMBER
- If you donot supply a port number the application would be run using the default port 5000
- Open your browser and navigate to localhost:3000 to view the application
Issues are always very welcome. Please be sure to follow the issue template.
We're glad to get pull request if anything is missing or something is buggy. However, there are a couple of things you can do to make life easier for the maintainers:
- Explain the issue that your PR is solving - or link to an existing issue
- Follow the repository structure and new sections in the corresponding folders
Git Conventions Make sure you adhere to our convention for your commits and PR.