Republic was built to provide guidance and productivity to anyone wanting to build an application with React. Frontend development is an exciting place at the moment and there are many opinions and libraries. Republic brings together popular opinions and libraries in order to:
Along with many other libraries for everything in between. Go open source! We'd especially like to say thanks to all the contributors of the npm modules we've used to build react :)
We'd love you to get involved! Check out our contribution guidelines.
Whilst we're actively developing republic things our bound to change. We will be adhering to semantic versioning but keep changing APIs in mind.
To get started you'll first want to install republic globally:
npm install -g republic
Once republic is installed you can now generate an example application with the following command:
republic new example-app
This command will create a new directory
example-app/, copy an example app
into it and then install dependencies.
Now you're ready to boot the application:
cd example-apprepublic dev
This will boot up a server at http://localhost:3000. The dev server will watch for changes in your app and livereload them.
This will run a production server that loads the application once rather than reloading it when files change.
republic newcommand for new projects
republic generatecommand for new projects