Git Product home page Git Product logo

co-living's Introduction

React SPA Template

A React SPA with all the cool things you need.

To scaffold this project I used Vite.

You can check out a production build of the template in here, in case you want to test it before using it.

Setup

First of all, make a copy of this project by clicking on "Use this template".

Now that you have your own repository, clone it and install its dependencies:

npm install

If your app will make use of an external API, create a .env file:

cp .env.example .env.development

and change api url with yours

VITE_APP_API_URL=https://api.feliciti.co

Finally, run your app:

npm run dev

and visit http://localhost:3000/.

Tools and packages

This template comes with different tools that you will definetly love:

  • Cypress to develop end to end tests.
  • Eslint + Prettier to check for syntax errors and enforce a common code style.
  • Formik + Yup to facilitate forms management and validation.
  • Material UI to be able to use some awesome predesigned components and an incredible design system.
  • React Router to navigate through different components.
  • Redux + Redux Toolkit for state management.
  • Redux persist to persist state managed by redux.
  • RTK Query to make API requests (I know this is included with Redux Toolkit, but it's such and amazing tool, that I had to give it its own mention).

Deploy

In the digital ocean console:

cd /var/www/app2.feliciti.co
git pull
npm install #if required
npm run build

CI

This project is configured with GitHub Actions so that each pull request is checked for eslint offenses and to run the tests.

co-living's People

Contributors

smile4192 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.