The idea of this repository is to build a complete app using new technologies and research about them.
We want to build social media shop using Prisma, GraphQL, MongoDB, Passport, Next, Apollo.
- Configure the project to use .env file
- Add linter
- Add authentication (Local, Facebook, Twitter, Instagram)
- Add boilerplate to use microservices
- Add reporting, timmers, stats, etc
- Add Healtcheck
- Add Test boilerplate
- Add deployment configuration
- Use Next (SSR)
- Use Apollo
- Use Hooks (Prohibited to use classes)
- Add animation to create a rich UI
- Add deployment configuration
- Add test boilerplate
- Use cypress to test
- Add reporting, load times, accesibility information, performance, etc.
Note: Docker is required to execute the project
yarn start:prisma
yarn prisma:deploy
yarn start
Note: The prisma endpoint is secured with secret key to only allow authorized request
yarn prisma:token
- Go to browser and open
http://localhost:4466
- Copy the generated token and add to playground headers
{
"Ahutorized": "Bearer _YOUR_GENERATED_TOKEN_"
}
yarn start
- Go to browser and open
http://localhost:4000
Note: If the PRISMA_SECRET is not set in .env file, the prisma endpoint is not authenticated and the deploy command will throw a warning (recomended in development)