A friendly backend project built with Node.js, Express.js, and MongoDB to handle basic user authentication without JWT or session tokens — just pure logic and clean architecture
- Register new users (with name, email, password)
- Passwords are hashed using
bcrypt
- Login users with email and password validation
- Retrieve all registered users (no password exposed)
- No JWT or session — focused on foundational concepts
- Node.js
- Express.js
- MongoDB + Mongoose
- bcrypt
- Postman (for testing)
EvelynAuth/
├── controllers/
│ └── userController.js
├── models/
│ └── User.js
├── routes/
│ └── userRoutes.js
├── .env
├── .gitignore
├── package.json
├── server.js
git clone https://github.com/ricoaprillananda/evelynauth-basic.gi
cd evelynauth-basic
npm install
PORT=5000
MONGO_URI=your_mongo_connection_string
npm run dev
🍃🪽🪽🪽 Author Rico APrilla Nanda