Skip to content

NayanCod/Local-Food-Expiry_Reminder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Local items expiry reminder - Local Setup Guide

This guide will walk you through setting up and running the Local food expiry reminder API locally on your machine.

Prerequisites

Before running the project, ensure you have the following installed:

  • Node.js (version 16 or higher)
  • npm (comes with Node.js)

You can check if you have Node.js and npm installed by running the following commands:

node -v
npm -v

Steps to run locally

  • Clone the repository
git clone https://github.com/NayanCod/Quiz-App.git

Backend Setup

  • Navigate to the backend Directory
cd backend
  • Setup the Environment variables Create a .env file in the backend directory:
touch .env

Add the following environment variables to the .env file:

PORT=
MONGO_URL=
JWT_SECRET=
  • Install Dependencies
npm install

If you encounter any errors during the installation, use the following command to install the dependencies with legacy peer dependencies:

npm install --legacy-peer-deps
  • Start the development Server
npm run dev

This will Run your backend server locally at http://localhost:8080

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages