Skip to content

AlexHerbertGit/MERN-Stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN-Stack

This repository contains the MERN stack prototype for the Kobra Kai charity project, developed as part of WEB701 – Web Technologies at NMIT.
The prototype demonstrates the required website functionality for Assignment 1:

  1. Authentication: Beneficiaries and Members can register, log in, and manage their accounts (via JWT).
  2. Meals & Token Transactions: Members list meals; beneficiaries browse meals and order them using tokens; members accept/reject orders.
  3. Interactive Features: Dashboards for both user types, token balances, order history, and real-time updates.

⚙️ Prerequisites


🔧 Installation & Setup

Clone the repository:

git clone https://github.com/yourusername/MERN-Stack.git
cd MERN-Stack

## Install API npm packages
cd api
npm install
npm run dev

## Create .env file
create the .env file in API root directory and add the following with a JWT_SECRET string

PORT=5000
MONGO_URI=mongodb://127.0.0.1:27017/kobra-kai
JWT_SECRET=your_jwt_secret_here

## Install the React Client npm packages
cd ../client
npm install
npm run dev

Client will run on http://localhost:3000

About

This is a prototype MERN stack for my WEB701 project evaluation

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors