https://github.com/kosa12/carbazaar
A full-stack used car webshop in TailwindCSS/Express/NodeJS/SQL
https://github.com/kosa12/carbazaar
ejs-express expressjs full-stack node-js nodejs tailwind-css tailwindcss university-project webdevelopment webshop website
Last synced: 2 months ago
JSON representation
A full-stack used car webshop in TailwindCSS/Express/NodeJS/SQL
- Host: GitHub
- URL: https://github.com/kosa12/carbazaar
- Owner: kosa12
- License: mit
- Created: 2024-06-12T17:58:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-25T16:51:28.000Z (almost 2 years ago)
- Last Synced: 2025-03-23T20:13:11.673Z (about 1 year ago)
- Topics: ejs-express, expressjs, full-stack, node-js, nodejs, tailwind-css, tailwindcss, university-project, webdevelopment, webshop, website
- Language: JavaScript
- Homepage:
- Size: 399 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CarBazaar | Used Car Advertisement Management System
## Overview
The Advertisement Management System is a web application that allows users to manage advertisements. It includes functionalities for creating, viewing, and deleting advertisements. Additionally, users can like advertisements, add them to their cart, and view details about each advertisement. Admin users have additional privileges, such as the ability to delete any advertisement.
## Features
- User Authentication
- Sign Up
- Login
- Logout
- JWT-based authentication
- Advertisement Management
- Create new advertisements
- View advertisement details
- Add images
- Delete advertisements
- User Interactions
- Like advertisements
- Add advertisements to the cart
- Buy the car
- Place an offer
- Admin Features
- Admin users can delete any advertisement
- Messaging System
- Send messages to other users
- Settings Features
- Changing the username
- Changing the password
## Used Technologies
### Frontend
- **JavaScript**: Programming language that enables interactive web pages.
- **EJS**: Embedded JavaScript templating language for generating HTML markup with plain JavaScript.
- **Tailwind CSS**: Utility-first CSS framework for rapid UI development.
### Backend
- **Node.js**: JavaScript runtime built on Chrome's V8 JavaScript engine.
- **Express.js**: Fast, unopinionated, minimalist web framework for Node.js.
- **MySQL**: Relational database management system for storing and managing data.
- **JWT (JSON Web Tokens)**: Standard for creating access tokens for authentication.
## Installation
1. **Clone the repository**
```sh
git clone https://github.com/kosa12/CarBazaar.git
cd CarBazaar
2. **Installing prerequisites**
- Make sure to have `Node.js`, `npm` and `MySQL` installed
3. **Install dependencies**
```sh
npm install
4. **Initialize the Database**
```sh
mysql -u root -p