[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

JavaScript full-stack starter kit based on Node.js, React, MongoDB, Swagger & Babel

License

Notifications You must be signed in to change notification settings

mi-kas/fullstack-starter-kit

Repository files navigation

JavaScript Full-Stack Starter Kit 🚀

An opinionated & minimalist JavaScript full-stack starter kit. Based on popular frameworks such as Node.js, React, MongoDB, Swagger, Babel and Docker.

Features

  • Node.js backend with Express
  • Swagger API specification & validation
  • MongoDB database
  • React frontend
  • Next generation JavaScript agnostic setup with Babel
  • Multi-container Docker setup
  • Handy Makefile commands for easy Docker orchestration
  • Code style & code quality enforcement with ESLint & Prettier
  • Mono-repo approach

Usage

Run

Clone this repository and run the following command for a local dev environment:

make up

This will spin up a database instance running on localhost:27017, a backend instance running on localhost:1337 and a frontend instance running on localhost:3000. See docker-compose.yml for the detailed setup. You can specify also only a single service via make up frontend.


Test

To run all test just enter:

make test

This will run all tests defined in the backend and frontend directories. See docker-compose.ci.yml for the detailed setup. Can ideally be used in your CI runners.


Deploy

TBD.