Skip to content

Basic recipe app written using node.js backend and React frontend, with sqlite3 database. University project displaying javascript webapp fundamentals

Notifications You must be signed in to change notification settings

Promess02/Tastify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipe App

This project is a Recipe App that allows users to browse, like, and manage recipes. It includes a backend server and a frontend React application.

Getting Started

Follow these instructions to set up and run the project on your local machine.

Prerequisites

  • Node.js
  • npm (Node Package Manager)
  • sqlite3

Installation

  1. Clone the repository:

    git clone https://github.com/Promess02/Tastify.git
    cd Tastify
    
  2. Install all packages:

    cd backend
    npm i .
    cd ../middleware
    npm i .
    cd ../recipe-app
    npm i .
    
  3. Running the backend server:

    cd backend
    node server.js
    
  4. Running the frontend app:

    cd recipe-app
    npm start
    
  5. Running the database (optional):

    sqlite3 recipeApp.db
    
  6. Check the Swagger API documentation on http://localhost:4000/api-docs (optional).

  7. Running the app from docker (optional):

  • make sure nothing is running on ports 3000 and 4000
  • run docker daemon
  • build docker image from project root folder:
    docker build -t tastify-app .
  • run docker container
    docker run -p 4000:4000 -p 3000:3000 tastify-app
  • check if container is running
    docker ps
  • Access the frontend at localhost:3000 and server at localhost:4000
  1. Login as an admin to check full project functionality:
  • click Login button
  • enter email: [email protected] and password: admin
  • enjoy all the app features including user and recipe management

About

Basic recipe app written using node.js backend and React frontend, with sqlite3 database. University project displaying javascript webapp fundamentals

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published