Welcome to our Candy Store project! This is a web application that allows you to add candies that you want to sell on the site, and to buy candy if you are looking for some! All you have to do is browse the chose the ones you like the most!
- Clone the project repository to your local machine.
- Open a terminal and navigate to the project directory.
- Run npm install to install the required dependencies.
- Create a .env file in the root directory of the project and add the following environment variables:
- PORT - the port number to run the server on (default is 5000)
- Run npm run dev to start the server using Nodemon.
or visit out website on Demo
This project use many techonologes such as :
- node.js: the back-end side of this project is set using node.js
- express.js: the server and routers are made using express.js
- npm modules: this project uses many moducles such as nodemon, such as cross-end, dotenc, pg, express, jest, joi, and supertest.
- postgress database
- HTML, CSS, and JS
- Server validation
- JWT Authentication
To use our Candy Store, follow these steps:
- Open a web browser and navigate to http://localhost:5000/ or visit our website.
- If you are looknig to sell some candy, Click the "Add Candy" button to add a new candy to the store.
- Enter the details of the candy, including its name, image, flavor, category, and quantity.
- Click the "Submit" button to add the candy to the store.
- You can view the list of candies on the homepage.
- If you are looking for some sepecif category(such as Licorice) or flavor (such as chocolate), you will find a category and a flavor buttons in the top-right corner of the home page. Click them and choose what you want.
If you'd like to contribute to the project, you can fork the repository, make your changes, and submit a pull request.
- Abeer Ayyad
- Haitham Abu Lamdi
- Mohammed Rabee Albatrawi