Online version: https://bluedit-graphql-server.vercel.app/
The stack:
- Language: Typescript
- Database: Prisma with PostgreSQL
- Graphql schema and resolvers typings: gql-codegen
- Server: Apollo Server hosted on Vercel
- Bundling: Rollup
- Auth: jsonwebtoken and bcryptjs
- Web scrapping (for website preview): Cheerio
- Emails: Send In Blue
npm install # install npm dependencies
npm run prisma-generate # generates prisma client bindings
npm run gql-gen # read the schema (in src/schema.ts) and create typings for the resolvers
npm run build-email # builds the email templates
npm run _build
vercel # yes, that's all