afzalsayed96 / mern-app

MERN stack app using Next.js

Home Page:https://node-next.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MERN stack app using Next.js

MERN app using Next.js and deployed on Docker.

Demo πŸ₯³πŸŽ‰

Tech stack

  • Frontend: React (Next.js)
  • Backend: Express.js
  • Database: MongoDB
  • Platform: Node.js
  • Deployment: Docker

Directory structure

.
β”œβ”€β”€ Dockerfile
β”œβ”€β”€ README.md
β”œβ”€β”€ __tests__
β”œβ”€β”€ api
β”œβ”€β”€ components
β”œβ”€β”€ docker-compose.yml
β”œβ”€β”€ heroku.yml
β”œβ”€β”€ jest.config.js
β”œβ”€β”€ jest.setup.js
β”œβ”€β”€ less
β”œβ”€β”€ next.config.js
β”œβ”€β”€ package.json
β”œβ”€β”€ pages
β”œβ”€β”€ public
β”œβ”€β”€ server.js
β”œβ”€β”€ services
β”œβ”€β”€ tree.txt
└── yarn.lock

Steps to run

Clone the repo

git clone git@github.com:afzalsayed96/next-app.git
cd next-app

Start server

Go to project directory and run

docker-compose up --build web

App will start running at localhost:3000

Running tests

docker-compose build test
docker-compose run test

Starter boilerplate

References

Assets

About

MERN stack app using Next.js

https://node-next.herokuapp.com/


Languages

Language:JavaScript 90.9%Language:CSS 8.8%Language:Dockerfile 0.3%