This is a RESTful API for a comic platform, designed to manage comics, chapters, user interactions, and more. It uses Node.js with Express.js for routing, Sequelize for database management, and Swagger for API documentation.
- Clone the repository:
git clone [repository-url] - Install dependencies:
npm install - Set up the environment variables in
.envfile. - Run the database migrations:
npx sequelize db:migrate
To start the server, run:
npm start
The server will start on the port specified in the .env file.
config/: Configuration filescontrollers/: API controllersmiddleware/: Middleware functionsmodels/: Database modelsroutes/: API routesutils/: Utility functions
/auth: Authentication routes/user: User management routes/comic: Comic management routes/chapter: Chapter management routes/comment: Comment management routes/genre: Genre management routes/noti: Notification routes/home: Home page routes/author: Author management routes
Contributions are welcome! Please fork the repository and submit a pull request.