A starter express server with sequelize that features RESTful API generation based on sequelize models.
- Automatically generate REST APIs for sequelize models
- Provides ability to override generated controllers and APIs (WIP)
git clone [email protected]:wchen02/express-sequelize.git
cd express-sequelize
npm install
npm install --only=dev
You'll also have to manually install the driver for your database of choice:
npm install --save pg pg-hstore # Postgres
npm install --save mysql2
npm install --save mariadb
npm install --save sqlite3
npm install --save tedious # Microsoft SQL Server
If you need help with the database setup, please follow this guide.
Put your database configuration in the .env
cp .env.example .env
npm run migrate
npm run seed
npm run dev
npm run start