Made with Node.js, Express, Prisma, written in Typescript.
Made with MUI's components, React and create-react-app.
- Create a new project from this template
- 
Install a local postgres database 
- 
Copy .env.sampleto.envand adapt the variables
- 
Install dependencies: npm i(This should also setup your database from theschema.prismafile and the migrations)
- 
Start both the server and the client with npm run dev
- Run npm run db:sync:dev
- 
Edit server/prisma/seed.ts
- 
Run npm run db:seed
This project should deploy successfully as-is on Heroku
- 
Set the environment variables 
- 
Install dependencies: npm ci(This should also setup your database from theschema.prismafile and the migrations)
- 
Start the server with npm run start
- 
Fork the project 
- 
Make sure your NodeJS and npm versions are up to date 
- 
Copy .env.sampleto.envand adapt the database URL
- 
Install dependencies: npm i(This should also setup your database from theschema.prismafile and the migrations)
- 
Start both the server and the client with npm run dev
- 
Commit and push your changes 
- 
Create a pull request 
Every
- Component
- Method
- Callback
Should have a corresponding documentation.
├── client
│	├── build    			# Compiled frontend
│	├── public
│	│	├── i18n			# Folder containing all the translations
│	│	└── ...      		# Any other static file
│	└── src
│		├── components 		# Reusable components
│		├── hooks     		# React hooks
│		├── layouts    		# Layouts
│		├── theme     		# Theme variables
│		├── utils       	# Utility functions
│		└── views       	# Views
├── core 					# Shared ressourcs for both front and back end
│   ├── src              
├── prisma 					# Prisma types definitions for both front and back end
│   ├── src              
└── server 					# Back end
    ├── prisma              # DB
	└── src
	    ├── controllers     # Controllers
 	  	├── utils       	# Utility functions
	    └── ...
