"commu." is a webapp designed by and for neighbourhood-friendly people. It is a social app for users to register by their city area of residence, so they can then post their needs and small jobs they would need to be done. This way, "commu." encourages its users to empower the local economy, contacting their neighbours when they are in need of anything, be it a plumber, a dog for adoption or even some tips and advice for newcomers! Try it today! "commu."
It can be checked here:
https://app.flowmapp.com/share/c867cf2446e3193ffe01537b8cd0a7e5/sitemap/
In the project directory, you can run:
Run npm install
on root folder to install dependencies related to Express.
cd client
and run npm install
install dependencies related to React.
- Run
npm run start
in project directory to start the Express server on port 5000 cd client
and runnpm run start
to start client server in development mode with hot reloading in port 3000.- Client is configured so all API calls will be proxied to port 5000 for a smoother development experience.
- You can test your client app in
http://localhost:3000
- You can test your API in
http://localhost:5000/api
- Run
npm run migrate
to build the database structure on your local SQL server. - Run
npm run seed
to fill in the "users" table with pre-created profiles and the "areas" table with the information needed for the app to run. To visualize the database layout, see attached file inmodel/database.png
. NOTE: This image is just orientative and could be not 100% accurate with the actual database.
You can learn more in the Create React App documentation. To learn React, check out the React documentation.
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
This is a student project that was created at CodeOp, a full stack development bootcamp in Barcelona.