_ __ _ _ _
| | / / | | | || |
| |/ / __ _ | |_ ___ | || | ___ __ _
| \ / _` || __| / _ \| || | / _ \ / _` |
| |\ \| (_| || |_ | __/| || || __/| (_| |
|_| \_/ \__,_| \__| \___||_||_| \___| \__,_|
🇫🇷 Katellea a pour objectif d'aider des personnes désireuses de réaliser des dons du sang, mais ne souhaitant pas le faire seul (quelqu'en soit la raison), à solliciter des personnes interessées dans son entourage. Dans un second temps, elles pourront convenir de la meilleure date pour réaliser ce don. L’objectif global est d’attirer les personnes hésitantes à faire des dons du sang grâce à davantage de convivialité.
🇬🇧 Katellea's goal is to help people who want to make blood donation, but not alone, to find interesting people in their entourage. In a second part, they can decide together of the best date to make this donation. The main objective is to help hesistant people to make their first blood donation through conviviality.
- Node.js & Express : Back-end server
- MongoDB & Mongoose : ORM
- React, generated with `create-react-app`
- Redux / react-redux
- @reach/router
- dayjs
- final-form / react-final-forms
- In the main folder, run
npm install
to install dependencies (may take a while). - Then, run
docker-compose up -d
ornpm run database
to start Mongo database (may take a while) - Add french cities and french donations establishment by doing:
npm run cities-import
andnpm run establishments-import
- Optionnal: add some seeding data to the database by doing
cd conf && ./restore-dev-database.sh
- Start server by doing:
npm run start
- Go the
frontend/
folder and runnpm install
- Create a
environment-local.js
insrc/
folder with content:
const overridesEnvironmentValues = {};
export default overridesEnvironmentValues;
-
Run
npm run start
and wait for your browser to start atlocalhost:8080
-
Note: if you got troubles with max watches, you can type in your terminal :
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
🚧 Coming soon 🚧
This project is licensed under the GNU Affero General Public License.
We are open to comments, questions and contributions! Feel free to open an issue, fork the code, make changes and open a pull request.