Giter VIP home page Giter VIP logo

ant-design-system's Introduction

Golden React Template

This project is a base template for a project in React, where it has all the settings for two environments: development and production, it has bundle optimization and code revision.

Screen Shot

How to use the project locally

- Download the project
- cd golde-react-template
- npm install
- npm install -g babel-cli (if you don't have Babel installed globally)
- npm install -g webpack-cli (if you don't have Webpack installed globally)
- npm install -g webpack (if you don't have Webpack installed globally)
- npm install webpack-bundle-analyzer --save-dev
- npm install sass-loader mini-css-extract-plugin --save-dev
- npm run build:dll
- npm run start
- Go to: http://localhost:3000

Run Linters

You can manually run the stylelinter and eslinter but you have husky configured in githook with precommit to run when you commit.

$ npm run lint || npm run lint:scss

you can omit the hook by adding the flag --no-verify

$ git commit -m "message" --no-verify

Deploy your application in Docker

Lets build the docker image we just created. Make sure you are in the project root directory in your terminal and run the following command

$ docker build . -t react-docker

Lets run container now

$ docker run -p 8000:80 react-docker

Now open http://localhost:8000 in your browser to check its running !

Deploy with Now

To deploy your project run this command

$ now

Credits

License

MIT

ant-design-system's People

Contributors

soriadamian17 avatar

Watchers

 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.