Kommunity is an online app for creating & joining communities. This is the frontend app.
Check product documentation for more details.
- Fork this repo
- Click on
Clone or download
button and copy the url - Run the following command:
# Replace FORK_URL with what you just copied
git clone FORK_URL
Follow these instructions to setup node.js/npm.
cd kommunity-frontend
npm install
npm run start
Follow these instructions to setup backend server.
Start the backend server in a separate terminal:
# in a new terminal:
cd kommunity-backend
npm run start
All set! Open http://localhost:3000/ in your browser. You should see the homepage.
npm run COMMAND
Available npm commands:
tailwindcss
: generates tailwind css (seesrc/css/vendor
folder for setting new css rulesstart
: starts the frontend server, and watches for file changestest
: runs all testscover
: runs all tests and generates a coverage reportlint
: checks for lint errorslint-fix
: checks for lint errors and tries to fix them
See this link.
node.js
: https://nodejs.org/en/docs/react
: https://reactjs.org/docs/getting-started.htmlrazzle
: https://github.com/jaredpalmer/razzle#quick-startaxios
: https://github.com/axios/axios#axiosreact router
: https://reacttraining.com/react-router/web/guides/quick-startredux
: https://redux.js.org/eslint
: https://eslint.org/docs/user-guide/getting-startedenzyme
: https://github.com/airbnb/enzyme#enzymejest
: https://jestjs.io/docs/en/getting-startedtailwind css
: https://tailwindcss.com/docs/what-is-tailwind/babel
: https://babeljs.io/docs/en/