This is my personal favorite way to setup an app. The master branch here is dedicated to the core features of the template. This is designed for MVPs and other quick start applications, not necessarily the most secure or scalable.
- User Auth Backend
- User Auth Frontend
- React SPA
- Express Backend
- Sqlite3 Database, with TypeORM
- Migration Support
- Detailed Logs
- Easy to use Controllers
- Rebuild Script
Simply clone the repo, then copy .env.example
into a new .env
file, filling the values as you see fit. Then run pnpm install
, and pnpm run dev
to start the app in development mode. Then go on customizing from there.
Right now there's only one script, the rebuild script. It will pull the latest changes from the remote repo, then run pnpm install
, and pnpm run build
. Then, it will run migrations, and restart the pm2 instance. Keep in mind this is intended for use in production, and not development mode. All of your development needs are taken care of with pnpm run dev
.