My 2nd public project! a full-stack js/node/express/postgres template (or foundation?). Syncs interface with your db, lets users sign up, sign in, and open a JWT token-protected page. Includes CRUD for user management.
Frontend:
- Sign Up: Form for name, email, and password (with validation).
- Sign In: Login with email and password, get a JWT.
- Dashboard: Protected, validates JWT.
Backend:
- Built with Express.js.
- Handles routes, auth, and APIs.
- Hashes passwords with bcrypt.
- JWT for sessions.
Database:
- PostgreSQL for user data.
- CRUD for create, read, update, delete users.
- Simple, functional starting point for auth-based apps.
Guide to setting up node/express-postgres enviornment: https://blog.logrocket.com/crud-rest-api-node-js-express-postgresql/
--
Disclaimer: I'm brand new to dev & I am building projects, 1 at a time, to help myself. I would appreciate any & all feedback.
Top comments (0)