A full-stack application using Next.js, Express.js, and SQLite.
frontend/
- Next.js frontend applicationbackend/
- Express.js backend APIdb/
- SQLite database files
cd frontend
npm install
npm run dev
The frontend will run on http://localhost:3000
cd backend
npm install
npm run dev
The backend API will run on http://localhost:3001
The SQLite database file will be automatically created in the db
folder when the backend starts.
npm run dev
- Run development servernpm run build
- Build for productionnpm start
- Start production server
npm run dev
- Run development server with hot reloadnpm run build
- Build TypeScript to JavaScriptnpm start
- Start production servernpm run watch
- Watch for TypeScript changes