Skip to content

geekyse/mern-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎉 MERN STACK PLAYGROUND 🎉

Tech stack : Nodejs/Typescript Mongo Redis ReactJS/NextJS Docker

- Backend Commands
    yarn install           : install all the dependencies defined in a package.json file.
    yarn dev
    yarn test
    yarn cli create:admin  : Create admin user for dashboard.

    docker-compose up      : 
    make up                : run all containers
    make restart           : restart all all containers
    make status            : docker containers status ( docker ps )
    make 'container'-logs  : same as // docker 'container name' logs -f  : example -> make mongo-logs
    make conn-'container'  : connect to container by name                : example -> docker exec -it 'container name' bash
- Tech
    - Typescript / Javascript
    - https://expressjs.com/
    - MongoDB ( Mongoose )
    - Redis cashing (saving sessions)
    - Docker makefile
    - CI/CD (github actions)
    - https://prettier.io/
- Frontend Commands
    yarn install           : installs all the dependencies defined in a package.json file.
    yarn dev               : which starts Next.js in development mode.
    yarn test
    yarn cli create:admin  : Create admin user for dashboard.

- Tech
- dev-machine Commands
    yarn install           : installs all the dependencies defined in a package.json file.
    yarn dev
    yarn test
    yarn cli create:admin  : Create admin user for dashboard.

    docker-compose up      : 
    make up                : run all containers
    make restart           : restart all all containers
    make status            : docker containers status ( docker ps )
    make 'container'-logs  : same as // docker 'container name' logs -f  : example -> make mongo-logs
    make conn-'container'  : connect to container by name                : example -> docker exec -it 'container name' bash

- Tech