Skip to content

eddiejpot/dbrama-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DBRAMA BACKEND

💻 DB Setup

If you have not created the DB on your local Step 1: Change username in config/config.js Step 2: Create DB npx sequelize db:create

If DB is already created on local

Setup DB: npm run setup

Reset DB: npm run reset

💻 Start Server

Start Server: npm run watch

🔗 Routes

Get all user diagrams /api/diagrams/:userId

Get selected diagram /api/diagrams/select/:diagramId

Create new diagram /api/diagrams/create/userId data format: {title: , dbmlData: , userId:}

Update selected diagram /api/diagrams/update/:diagramId data format: {title: , dbmlData: , userId:}

💻 Deployed app

Backend on Heroku

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors