A place to give and get stuff for free in London.
Table of Contents
A marketplace application to give away unwanted items and save them from going to landfill.
You can add an item to give away by providing a title, description, image and contact details/location to let people know where to pick it up from. Admins / logged in users can edit & delete their items, and mark them as taken. The main page has a search functionality and only shows available items.
- React
- Express
- Mysql
- Vanilla CSS
- Run
npm install
in project directory to install server-related dependencies such asexpress
. cd client
and runnpm install
to install client dependencies (React).
- Access the MySQL interface in your terminal by running
mysql -u root -p
- Create a new database:
create database freecycle
- Add a
.env
file to the project folder of this repository containing the MySQL authentication information for MySQL user. For example:
DB_HOST=localhost
DB_USER=root
DB_NAME=freecycle
DB_PASS=YOURPASSWORD
- Run
npm run migrate
in the project folder of this repository, in a new terminal window. This will create a table called 'items' in your database.
Currently only items exists, users table not yet created
- Add User Login
- Add categories
- Add image upload / multiple images functionality
- Add pagination
- Add location with latitude/longitude and the option to filter by location
- Add timestamp for date the item was added
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License.
Katja Pollmann - LinkedIn Profile - katjapollmann@hotmail.com
Project Link: https://github.com/kpo18/freecycle-web-app