Skip to content

clementpnn/rugby

Repository files navigation

loglo

Rugby Projet

An open source seat reservation application for journalists during rugby matches

Tech Stack . Runing locally . Authors


Tech Stack

Runing locally

You will need to use the environement variables defined in .env.example to run Rugby Project. But for that, you have to rename the .env.example file in to .env.

npm i
npm run db
npm run dev

npm i for install all dependencies
npm run db for delete the old database, generate client prisma types and recreate the database with default data
npm run dev for starte server

Your app should now be running on localhost:3000

Go to localhost:3000/adminRegister to create an admin account

Example csv for import
Be careful, emails will be sent

accreditationId,firstName,lastName,company,job,email
abC12,Pierre,Martin,Le Figaro,JOURNALIST,pierre.martin@lefigaro.fr
xyZ34,Julie,Bernard,Le Parisien,JOURNALIST,julie.bernard@leparisien.fr
efG56,Patrick,Roux,L'Équipe,PHOTOGRAPHER,patrick.roux@lequipe.fr

Authors