Lagos Food Bank Initiative is a non-profit organization that aims to reduce food waste and hunger in Lagos, Nigeria.
This project aims to develop a volunteer management system for Lagos Food Bank Initiative. The system will allow volunteers to sign up for shifts, and for LFBI to manage volunteers and hours.
Folder structure
.
├── frontend # Next.js client
├── backend # Express server
└── README.md
Install Docker
Install Dev Containers
Clone the Git repository
git clone https://github.com/cornellh4i/lagos-volunteers.git
Open the repository in VS Code. A button should appear in the bottom right corner asking to reopen the folder in a Dev Container. Click Yes.
Add necessary environment variables. In the backend
folder, create a copy of .env.template
and rename it as .env
. In the frontend
folder, create a copy of .env.template
and rename is as .env.local
. Fill out all the necessary details. Note that .env
files should never be committed to GitHub.
Start the client and server
# Run yarn setup in the root folder to build both the backend and the frontend
yarn setup
# Run yarn start in the root folder to start both the backend and the frontend
yarn start
# Run yarn test in the root folder to run Jest tests for the backend
yarn test
Note: See individual project files for more information on how to build and deploy the project.