This app is a resdesign (still in progress) of the website for Amsterdam Ultimat Club. The following instructions will help you through installing the database portion of the app. For the full Readme please follow this link to the Front End and view the Readme there.
https://github.com/curtis-clement/Amsterdam-Ultimate-Club-Client
- Clone the app
- cd into your project
- install dependencies
npm install
- Configure your database in
config/config.json
The default assumes a postgres database with
- username: postgres
- password: secret
// config/config.json
{
"development": {
"username": "postgres",
"password": "secret",
"database": "YOUR_PROJECT_NAME_HERE_development",
"host": "localhost",
"dialect": "postgres",
"operatorsAliases": "0"
}
}
- Create database, run migrations & seed data
package.json
contains a script for this
npm run initdev
Or run the commands seperately
npx sequelize-cli db:create
npx sequelize-cli db:migrate
npx sequelize-cli db:seed:all
- start server with
nodemon
(recommended for development)
npm run dev
- or start normally
npm start