Skip to content

Simple express starter app for learning. Uses minimal dependencies.

Notifications You must be signed in to change notification settings

monicao/express_starter_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

  1. Use node 14. You can install different versions of node using nvm
  2. Install the dependencies npm install
  3. Create a database using a GUI or the command line. The command psql -U<YourUserName> -c "CREATE DATABASE <YourDatabaseName>" should do the trick.
  4. Run the migrations node db/migrations/run.js. This will create all the tables needed by the app. Whenever you add a new table, you will need to add a migration file to db/migrations. See the existing file as an example.
  5. Start the app: npm start. This already has nodemon baked in so you don't have to worry about manually restarting when code changes.

About

Simple express starter app for learning. Uses minimal dependencies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published