https://github.com/dvir-cohen1/dockerized-mern-app-boilerplate
Dockerized MERN Application Boilerplate Ready To Use.
https://github.com/dvir-cohen1/dockerized-mern-app-boilerplate
docker docker-compose react typescript vite
Last synced: 29 days ago
JSON representation
Dockerized MERN Application Boilerplate Ready To Use.
- Host: GitHub
- URL: https://github.com/dvir-cohen1/dockerized-mern-app-boilerplate
- Owner: Dvir-Cohen1
- License: mit
- Created: 2023-02-16T22:47:37.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-18T01:20:50.000Z (about 2 years ago)
- Last Synced: 2025-02-12T08:58:46.557Z (3 months ago)
- Topics: docker, docker-compose, react, typescript, vite
- Language: TypeScript
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Welcome to Dockerized-MERN-App-Boilerplate 👋
> Dockerized Boilerplate for MERN application ( `React.js` & `typescript` & `Vite` )
## 🚀 Usage
### Backend:Install the dependencies:
```sh
npm install
```Run dev server:
```sh
npm run dev
```
### Frontend:
```sh
npm install
```
Run dev server:```sh
npm run dev
```## 🐳 docker-compose
Build docker containers:```sh
docker-compose build
```
Run docker containers:```sh
docker-compose up
```## Scripts available
### Backend
```sh
// npm run
"scripts": {
"start": "node ./build/src/index.js",
"dev": "nodemon --exec 'ts-node' ./src/index.ts",
"lint": "gts lint",
"clean": "gts clean",
"compile": "tsc",
"fix": "gts fix",
"prepare": "npm.cmd run compile",
"pretest": "npm.cmd run compile",
"posttest": "npm.cmd run lint"
},
```### Frontend
```sh
// npm run
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
},
```## Technologies Used
- Backend
- Typescript & gts - (gts is Google's TypeScript style guide)
- Frontend
- Typescript
- Vite - is a build tool that aims to provide a faster and leaner development experience for modern web projects
## Show your supportGive a ⭐️ if this project helped you!
***
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_