freecycle-web-app
Table of Contents
About The Project
Built With
- React
- Express
- Mysql
- Vanilla CSS
Getting started
Prerequisites
- Run
npm install
in project directory to install server-related dependencies such asexpress
. cd client
and runnpm install
to install client dependencies (React).- install nodemon, mysql, cors, material ui, react router dom
Installation
- Access the MySQL interface in your terminal by running
mysql -u root -p
- Create a new database called items:
create database items
- 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=items
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.
Usage
Roadmap
- Add User Login
- Add categories
- Add image upload / multiple images functionality
- Add pagination
See the open issues for a full list of proposed features (and known issues).
Contributing
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
License
Distributed under the MIT License.
Contact
Katja Pollmann - LinkedIn Profile - katjapollmann@hotmail.com
Project Link: https://github.com/kpo18/freecycle-web-app