This is a JavaScript project that uses pnpm for package management. It's a web application with a structured layout, including controllers, models, routes, and utility functions.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You need to have Node.js and pnpm installed on your machine. If you don't have them installed, you can download Node.js from here and pnpm from here.
- Clone the repository to your local machine.
- Navigate to the project directory.
- Run
pnpm install
to install all the dependencies.
The project has the following structure:
.
├── app.js
├── index.js
├── src
│ ├── controllers
│ │ ├── user.controllers.js
│ │ ├── file.controllers.js
│ │ └── ...
│ ├── models
│ │ ├── user.model.js
│ │ ├── file.model.js
│ │ └── ...
│ ├── routes
│ │ ├── user.routes.js
│ │ ├── file.routes.js
│ │ └── ...
│ ├── middlewares
│ │ ├── auth.middlewares.js
│ │ ├── multer.middlewares.js
│ │ └── ...
│ └── utils
│ └── ...
└── ...
To run the application, use the following command in the terminal:
node app.js