Skip to content

IAParfaite/IremboGov

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

IremboGov

  • React + Vite frontend in frontend/
  • Express + MongoDB backend in backend/
  • JWT auth for registration and login

Environment

Use backend/.env:

MONGODB_URI=mongodb://localhost:27017/IremboGov
PORT=5000
JWT_SECRET=replace_with_a_real_secret

You can also copy from backend/.env.example.

Install

cd frontend
npm install

cd ../backend
npm install

Run

Start the backend:

cd backend
npm run dev

Start the frontend in another terminal:

cd frontend
npm run dev

The frontend is served from frontend/ and proxies /api/* to http://localhost:5000.

API

  • GET /api/health
  • POST /api/auth/register
  • POST /api/auth/login

About

IREMBO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors