Skip to content

MikaelFeher/recipes-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipe API

The backend code for the RecipeProject. This is built using Node JS and is a part of a project in the Advanced JavaScript-course @ EC Utbildning.

This is accompanied by a frontend part that can be found here.

Project setup

npm install

Then you need to set up a .env-file at the root of your project in which you need 2 constants:

DB_URL = [YOUR-DATABASE-URL]

SECRET_OR_KEY = [YOUR-SECRET-KEY]

The seedUser.js creates an admin user in order to access protected routes. Feel free to change the password.

Compiles and hot-reloads for development

npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published