GithubHelp home page GithubHelp logo

react-next-starter's Introduction

react-next-starter

This project use Next.js with redux ecosystem, and was intended to help users get up and running quickly.

Table of Contents

  1. Installation
  2. Running the Project
  3. Project Structure

Installation

You can create a new project based on react-next-starter by doing the following:

$ git clone https://github.com/leon3s/react-next-starter.git <my-project-name>
$ cd <my-project-name>

When that's done, install the project dependencies. It is recommended that you use Yarn for deterministic dependency management, but npm install will suffice.

$ yarn install  # Install project dependencies (or `npm install`)

Running the Project

After completing the installation step, you're ready to start the project!

$ yarn run development  # Start the development server (or `npm run development`)

While developing, you will probably rely mostly on yarn run development; however, there are additional scripts at your disposal:

yarn <script> Description
development Serves your app at localhost:8080 in development mode
production Serves your app at localhost:8080 in production mode
build Builds the application to ./next
build:production Builds the application to ./next in production mode

Project Structure

├── .next                    # All build-related code
├── actions                  # Redux actions directory
├── components               # React Components directory
├── containers               # React Containers directory
├── pages                    # Next.js pages directory
| ├── index.js               # First page viewed by user
├── reducers                 # Redux reducers directory
├── static                   # Static files exposed by your server
├── styles                   # Styles directory in scss
├── utils                    # Your utils directory
└── server.js                # Next.js server

react-next-starter's People

Watchers

James Cloos avatar tt rt avatar Guillaume Sarfati avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.