SpaceToStudy is a platform designed to facilitate interaction between students and tutors. This repository contains the backend of the application, providing APIs for user management, session handling, reviews, and more.
- User Management: Registration, authentication, and authorization.
- Reviews & Ratings: Users can leave feedback and rate tutors and students.
- Notifications: System for alerts about upcoming sessions and events.
- Node.js – JavaScript runtime environment.
- Express.js – Web framework for building APIs.
- MongoDB – NoSQL database for storing data.
- Mongoose – ORM for MongoDB.
- JWT – JSON Web Tokens for authentication and authorization.
-
Clone the repository:
git clone https://github.com/ita-social-projects/SpaceToStudy-BackEnd.git
-
Navigate to the project directory:
cd SpaceToStudy-BackEnd
-
Install dependencies:
npm install
-
Set up environment variables:
Copy the
.env.example
file to.env
and configure the required environment variables. -
Run the application:
npm start
The application will be available at
http://localhost:3000
.
To run tests, use the following command:
npm test
This will execute all defined tests and display the results in the console.
We welcome contributions from the community. Please refer to CONTRIBUTING.md for details on how to get involved.
This project is licensed under the MIT License. See the LICENSE file for more details.
If you have any questions or suggestions, please open an issue in this repository or contact us at [email protected].