Skip to content

A simple Events Manager API using Node.js Express and Heroku Postgres

Notifications You must be signed in to change notification settings

mnmlsniper/events-manager

 
 

Repository files navigation

events-manager

A simple Events Manager API using Node.js Express and Heroku Postgres

Requirements

  1. Create a Heroku application:
heroku create app-name
  1. Install a Heroku Postgres Addon on your new application:
heroku addons:create heroku-postgresql:hobby-dev -a app-name
  1. Load Database Schema
export DATABASE_URL="...."
cd src/server
npx sequelize db:migrate

In case you need to reset your database you can run:

heroku pg:reset -a app-name

Note: The previous command will destroy your database, so, run it only if you need to

How to start?

Start simple by running npm run watch. This will start the project with a local development server.

The source files are located in the src folder. All web components are within the src/client/modules folder. The folder hierarchy also represents the naming structure of the web components. The entry file for the custom Express configuration can be found in the 'src/server' folder.

Find more information on the main repo on GitHub.

About

A simple Events Manager API using Node.js Express and Heroku Postgres

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 88.8%
  • HTML 6.7%
  • CSS 4.5%