We build a user-friendly web-app "crowdedness meter" to help students meet safely in Ghent hotspots. Our ultimate goal is to offer students the opportunity to reclaim the ownership of their reputation, by demonstrating that it is possible to have a social life while respecting government measures. For students, by students.
- [Eben Ezeer]
- [Loeka Wyseure] (https://www.devine-creations.be/)
- [Kaj De Muynck] (http://kajdemuynck.be/)
- [Eléna Lefèbvre] (https://www.linkedin.com/in/el%C3%A9na-lef%C3%A8bvre-869625130/)
-
List of hotspots
-
Hotspots info page (amenities, crowdedness, location)
-
Map of hotspots
-
QR code scanner
-
Vote system
-
Account system
-
Profile page
| Color | Hex |
|---|---|
| Indigo | |
| Aquamarine | |
| Rajah | |
| Electric Violet |
To deploy this project run
npm run buildTo run this project, you will need to add the following environment variables to your .env.local file
The base URL of the QR-codes that the scanner will receive (to check if the scanned code is from Crowdy):
REACT_APP_BASE_URL=https://crowdy-osoc.herokuapp.com/
The URL of the backend server:
REACT_APP_SERVER_BACKEND=https://crowdy-server-backend.herokuapp.com/graphql
Your Access Token of the Mapbox-service to display the map:
REACT_APP_MAPBOX_ACCESS_TOKEN={YOUR_ACCESS_TOKEN}
Your Access Token of the Mapbox-style to add a visual look:
REACT_APP_MAPBOX_ACCESS_TOKEN_STYLE={YOUR_ACCESS_TOKEN}
You can acquire access tokens for Mapbox here.
Clone the project
git clone https://github.com/osoc21/Crowdy.gitGo to the project directory
cd clientInstall dependencies
npm installStart the client
npm run start POST localhost:4000/graphqlThe port depends on the environement the app is using.
To deploy this project run
npm run start:prodTo run this project, you will need to add the following environment variables to your .env file
NODE_ENV=development
APP_PORT=4000
PORT=4000
TYPEORM_TYPE=postgres
TYPEORM_URL=postgres://postgres:[email protected]:5432/database_name
TYPEORM_USERNAME=postgres
TYPEORM_PASSWORD=password
TYPEORM_NAME=database_name
TYPEORM_PORT=5432
TYPEORM_HOST=127.0.0.1
TYPEORM_SSL = true
TYPEORM_LOGGING=false
TYPEORM_SYNCRONIZE=true
TYPEORM_AUTO_LOAD_ENTITIES=true
TYPEORM_DRIVER_EXTRA={ssl :{rejectUnauthorized: false}}
JWT_SECRET=very_secret_string
EXPIRES_IN=time(like 1h)
It's better if you create in the root directory .development.env and .production.env and place the environment variables respectively.
Clone the project
git clone https://github.com/osoc21/Crowdy.gitGo to the project directory
cd serverInstall dependencies
npm installStart the server
npm run startClient: React, React Router, React QR Reader, React Map GL
Server: NestJS, Express, GraphQL, TypeORM


