Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

Seiikatsu/react-fullstack-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-Fullstack-Template

This project provides a fullstack template with react frontend and express backend.
The goal of the project is to create a modular fullstack where the modules work independent from each other to swap / exchange them if nessesary.

Getting Started

The project was created with yarn, npm is not tested and will might be not work, because yarn workspaces is used.

Prerequisites

The project requires yarn to be installed, as well as some global libraries.

Global Libraries:
Concurrently
Nodemon

You can install this libraries with the following command:

sudo yarn global add concurrently nodemon

Installing

To getting started with the template, you will need to move into the root directory and run:

yarn install

Scripts

This project already comes with some preconfigured scripts. Each script is divided into 3 seperate scripts to be able to execute scripts for each module (separate) or combined. For simplicity only the combined scripts will be listed, but each script can have the postfix "-client" or "-server".

  • lint
    • Runs the linter for each module
  • test
    • Runs all tests of the modules
  • dev
    • Starts both modules in development mode
  • start
    • Starts both modules in production mode
  • build
    • Build a production-ready version of the project

Deployment

The project can be build to be production-ready with a single command:

yarn build

You will find the final build under build.

For further details, how the modules and scripts work, see the README of the modules.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published