A simple login system made by openclaw. I'm using that project to improve my learning on Frameworks, APIs, Database, Front-end and Back-end.
- Frontend: React, Vite, TypeScript, Tailwind CSS, shadcn/ui
- Backend: Node.js, Express, SQLite, Bcryptjs
git clone https://github.com/vitorcomin33/Simple-login-system.git
cd Simple-login-systemcd backend
npm install
node server.jsThe API will start on http://localhost:3001.
# Open a new terminal in the root folder
npm install
npm run devOpen your browser at http://localhost:5173.
- Secure Authentication: Passwords are encrypted using Bcrypt.
- Minimalist UI: Clean, responsive design focused on user experience.
- Zero-Config DB: SQLite database is initialized automatically on the first run.
- Fast Development: Powered by Vite for near-instant hot module replacement.
- Session Persistence: The current login endpoint validates the user's email and password but does not create an authenticated session. Session management and persistent authentication will be implemented in a future version.
- Password Security: Passwords are hashed using
bcryptjsbefore being stored in the database. Passwords are never stored as plain text.