- NodeJS version v12 or newer and NPM
- Docker and Docker-Compose OR PostgreSQL
- Make
- Ensure all prerequisites are installed
- Run
cp server/sample.env server/.env(If you do not wish to use docker, change the database url in the newly created.envfile) - Run
make first-runthis will runnpm installfor the ui and server and setup the db using Docker. After running this once you shouldn't need to run it again. (If you are not using Docker runmake first-run-no-docker) - Run
make startthis will start the UI and server running on ports 3000 and 3001 respectively. Both the UI and server will be running in watch mode, so any changes should automatically take effect. TypeCTRL-cto exit - View the project in your browser at localhost:3000
- Ensure all prerequisites are installed
- copy
server/sample.envtoserver/.env(If you do not wish to use docker, change the database url in the newly created.envfile) - Add your
DATABASE_URLto your environment- Powershell:
$env:DATABASE_URL = 'YOUR_DATABASE_URL'
- Powershell:
- Run
make startthis will start the UI and server running on ports 3000 and 3001 respectively. Both the UI and server will be running in watch mode, so any changes should automatically take effect. TypeCTRL-cto exit - View the project in your browser at localhost:3000
After the initial setup, to start and stop the project just run make start and CTRL-c to exit
- React - A component based reactive UI library
- USWDS - For designs and components (this is similar to other libraries like Bootstrap)
- USWDS Component Library - Pre-made React components for the USWDS
- NodeJS - A server side JavaScript runtime
- ExpressJS - An HTTP server for Node
- PostgreSQL - An open source relational database
- Docker - A container runtime
- Docker-Compose - A way to manager Docker applications
./srcdirectory contains the UI React code./servercontains the backend API code
Wireframes are on Figma
- Fork the repo
- Create a feature branch
- Make your changes
- Commit and push your changes
- Create a PR from your forked repo to the main repo (be sure to link the issue)
- Tag two reviewers
Squash and mergeafter PR is approved