A Node backend app powered by a powerful Nextjs frontend. It provides a perfect starter kit for simple apps that need quick development time, with an api-ready backend. This starter-kit is perfect for apps that may start with a backend (React NAtive/Flutter) and later on provide a frontend via Nextjs.
Backend
- Express
- Prisma (Postgree, MySQl, Mongo)
- Typescript
- JWT
- Cors
Frontend
- Next (12) (React 18)
- Chakra UI (v2)
- Framer Motion
- React Query (Generally you won't need Redux - But do as you please)
WishList
- Tests
- One-click deployments
Blitzjs, which aims to be a full-stack Nextjs solution, can be a good alternative for your needs. However, there being no support for an easy way to use it as a pure-api backend for Flutter/React Native, it can become, well, not suitable for your stack. Till then, this project shall be kept active.
npm i
Tested on NodeJs v18+
docker-compose up -d
Make a .env file based on the .env.example with you preferences Make a .env file based on the .env.example with you database settings inside prisma folder
npx prisma migrate dev --name initial-migration --create-only
npx prisma db push
npx prisma generate
npm run seed
npm run generate
npm run dev
npm run start
Check insomnia file (
docs) for the view API documentation
Check for npm packages. A better solution to npm audit is
snyk testThe app will run on 2 instances;
- one for the backend (node),
- another for the frontend (Nextjs) - that is, if you really need a frontend.
Coming soon
PRs are welcome. Am no expert in any form, but would love to make a contribution to the society at large. Feel free to make your contributions - they will be much appreaciated.