GithubHelp home page GithubHelp logo

hunghkit / reactjs-starter Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 327 KB

This is a simple template project Reactjs and Nextjs. It is included front-end and back-end

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

License: MIT License

JavaScript 65.51% CSS 34.49%

reactjs-starter's Introduction

Reactjs-starter

Required

  1. Install Nodejs click here
  2. Heroku account click here if you want to deploy with heroku
  3. Amazon account click here if you want to deploy with amazon
  4. Install PostgreSQL click here if you want to use postgresql database

Use for development

1: git clone [email protected]:hunghkit/reactjs-starter.git
2: cd reactjs-starter
3: yarn install or npm install
4: Add ENV: cp .env.example .env

5.1: Run front-end and back-end in a terminal: yarn dev or npm run dev
5.2: Seperate front-end and back-end
5.2.1: Run front-end: yarn fe or npm run fe
5.2.1: Run back-end: yarn be or npm run be

Preview build project

1: Build project: yarn build or npm run build
2: Start peview: yarn start or npm start

Deployment with heroku

  • Setup:
1. `heroku create $APP_NAME`
2. `heroku buildpacks:add heroku/nodejs`
  • Deploy:
1. Deploy from master branch: git push heroku master
2. Deploy from other branch: git push heroku yourbanch:master

Done

  1. Config project reactjs 16.8.1 and nextjs
  2. Use scss with node-sass
  3. Renderserver via nextjs
  4. Deploy with heroku
  5. Integrate redux
  6. Integrate redux-form
  7. JWT in server
  8. Example with REST

Licence: MIT

reactjs-starter's People

Contributors

hunghkit avatar

Stargazers

Vincent Le avatar Jun Ng. avatar

Watchers

James Cloos 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.