Code Monkey home page Code Monkey logo

carx-server's Introduction

Carx - Affordability at your Fingertips (Server-side)

Carx Logo

Carx is a full-stack application that brings affordability to your fingertips. This repository contains the server-side code. For the client-side code, visit Carx Client.

Features

Authentication

  • Users can log in with Google or email/password.
  • Users can create an account.

Admin Panel

  • Admin can make other users admins.

Car Management

  • Admins can add, delete, and update cars in the database.
  • Users can retrieve all cars or a single car from the database.

Order Processing

  • Users can place orders.
  • Users can retrieve their order history.
  • Admins can view all orders and update order statuses.

Payment Handling

  • Users can make payments for orders.
  • Users can view their payment history.
  • Admins can access all payment records.

Review System

  • Users can add reviews.
  • Users can view their reviews.
  • Admins can view all reviews and delete them.

Messaging System

  • Users can send messages.
  • Admins can access all messages in their inbox.

Technology Stack

  • Language: TypeScript
  • Server Framework: Node.js with Express.js
  • Database: MongoDB
  • Authentication: Firebase
  • Payment Processing: Stripe
  • Email Handling: Node Mailer
  • Validation: Zod

Getting Started

Prerequisites

  • Node.js and npm installed
  • MongoDB installed and running
  • Firebase and Stripe accounts for authentication and payment features

Installation

  1. Clone the repository:
git clone https://github.com/suhag-alamin/carx-server.git
  1. Navigate to the project directory:
cd carx-server
  1. Install dependencies:
yarn install
  1. Configure environment variables (refer to .env.example)

  2. Run the server:

yarn dev

Author

Suhag Al Amin

carx-server's People

Contributors

suhag-alamin avatar dependabot[bot] avatar

Stargazers

 avatar ali tek avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.