Skip to content

Mern application, React.js, Apollo GraphQL, Typescript, Tailwind, Responsive Design, Node.js, Express.js, Nest.js, TypeORM, Docker, Docker Compose and VPS.

Notifications You must be signed in to change notification settings

BelugaWhaleSam/car-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

w12

My Car-Rental Fullstack

This project is a built with a modern tech stack, including Apollo GraphQL, Typescript, Tailwind CSS, and more. The application is fully responsive and designed to be easily deployable using Docker and Docker Compose.

Tech Stack

  • Frontend:

    • React.js
    • Typescript
    • Apollo GraphQL
    • Tailwind CSS
    • Responsive Design
  • Backend:

    • Node.js
    • Express.js
    • Nest.js
    • TypeORM
    • GraphQL
  • Deployment:

    • Docker
    • Docker Compose

Getting Started

Prerequisites

Make sure you have the following installed on your machine:

  • Node.js
  • Yarn
  • Docker
  • Docker Compose

Installation

  1. Clone the repository:
git clone https://github.com/your-username/your-repo.git
cd your-repo
  1. Install backend dependencies
cd server
yarn install
  1. Install frontend dependencies
cd ../client
yarn install

Running the Application

Development To start the server in development mode, navigate to the server directory and run:

cd server
yarn start:dev

To start the frontend, navigate to the client directory and run:

Copy code
cd client
yarn start

Docker

To build and run the application using Docker, use the following commands:

# Build the Docker images
docker-compose build

Start the containers

docker-compose up

To shut down the application, use:

docker-compose down

The application will be accessible at the same ports as in development mode:

Frontend: http://localhost:3000 Backend: http://localhost:9000 GraphQL: http://localhost:9000/graphql SQL: localhost:3306

About

Mern application, React.js, Apollo GraphQL, Typescript, Tailwind, Responsive Design, Node.js, Express.js, Nest.js, TypeORM, Docker, Docker Compose and VPS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published