This is a CMS application built with Node.js, Express, MySQL, and JWT for authentication.
- User registration and login
- JWT authentication
- CRUD operations for cards
- MySQL for data storage
- User: Contains fields like username, password.
- Card: Contains fields like content, creation date, owner, and type.
- Register:
POST /register - Login:
POST /login - New Card:
POST /cards - Delete Card:
DELETE /cards/:id
- Clone the repository
- Install dependencies with
npm install - Set up your MySQL database and update the connection string in the
.envfile - Run the server with
npm start
This is a basic CMS application and does not include advanced features like password hashing, input validation, error handling, etc. Always remember to add these features in a production-level application.