Skip to content

ymainier/mflix-back

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend for mflix

Install stuff.

npm install

Make sure to have a .env file defining a DATABASE_URL. Something like the following

DATABASE_URL="file:./dev.db"

Migrate the database.

npx prisma migrate deploy

Maybe seeds it (you'll need a proper seeds.json file).

npx prisma db seed

Compile it, run it.

npx tsc
VLC_REQUEST_URL=http://192.168.1.5:9999/requests node dist/src/index.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors