8000 GitHub - 3qarat/Web-Backend: E-commerce website
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

3qarat/Web-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 

Repository files navigation

AQARE Backend

AQARE is a Node.js-based backend application designed for an apartment rental platform. This project is part of my graduation requirements and includes features for user management, apartment listings, and more.

Table of Contents

Features

  • User authentication (local and Google)
  • CRUD operations for apartments and user management
  • View count tracking for apartments
  • Favorites functionality for users
  • Password reset functionality
  • Custom error handling

Technologies Used

  • Node.js (ES6)
  • Express for web framework
  • MySQL as the database
  • Passport.js for authentication
  • Docker and Docker Compose for containerization
  • Git and GitHub for version control
  • db-migrate for database migrations

Installation

  1. Clone the repository:

    git clone https://github.com/3qarat/Web-Backend.git
    cd Web-Backend/src/server
    
    
  2. Install dependencies:

    npm install
  3. Set up your MySQL database and update the configuration in config.js.

  4. Run the migrations to set up the database:

    npx db-migrate up
  5. Start the application:

    npm start

Usage

Once the application is running, you can access the API endpoints at http://localhost:PORT, where PORT is the port defined in your configuration (default is usually 3000).

API Endpoints

You can find the API endpoints and their details in the Postman collection linked below:

API Postman Collection

Contributing

Contributions are welcome! Please create a pull request or open an issue if you find any bugs or have suggestions for improvements.

About

E-commerce website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0