Project was created as part of Coders Lab course. Prototype of the project ("Oddam w dobre ręce") was prepared by Coders Lab graduate - Magda - in Adobe XD.
- create-react-app (This project was bootstrapped with Create React App.)
- React Router
- Bootstrap, Sass
react-js-pagination
- API
- Firebase authentication (email & password)
For running app locally you need to follow below steps.
- Clone app:
git clone https://github.com/MoNo258/Share_because_you_care
- Go to folder where files will be placed
cd Share_because_you_care
- In above folder run in terminal
npm i
If you want to download this project locally and run it there you also need to connect the project with Firebase.
- You need to create Firebase account and then project for web app that must be connected to this one (use Firebase tutorials).
- Create file
secret.js
with details for Firebase.- create file:
src/services/secret.js
. Structure should be as follows:
- create file:
//Firebase web app configuration
export const firebaseConfig = {
apiKey: 'YOUR_DATA',
authDomain: 'YOUR_DATA',
databaseURL: 'YOUR_DATA',
projectId: 'YOUR_DATA',
storageBucket: 'YOUR_DATA',
messagingSenderId: 'YOUR_DATA',
appId: 'YOUR_DATA'
};
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.