Giter Site home page Giter Site logo

my-wine-app's Introduction

Project Name: MyWines Web Application

Description: MyWines is a web application for wine enthusiasts to manage their wine collection. Users can log in, add, edit, and view details of their wines through an intuitive user interface. This application utilizes React for the frontend, Express.js for the backend, and PostgreSQL for the database.

Installation: Clone the repository:

bash Copy code git clone Navigate to the project directory:

bash Copy code cd mywines-web-app Install dependencies for the frontend:

bash Copy code cd frontend npm install Install dependencies for the backend:

bash Copy code cd ../backend npm install Set up the PostgreSQL database:

Create a new PostgreSQL database named "MyWines". Update the database configuration in the backend .env file with your PostgreSQL credentials. Start the backend server:

sql Copy code npm start Start the frontend development server:

bash Copy code cd ../frontend npm start Open your browser and navigate to http://localhost:3000 to access the application.

Features: User Authentication: Users can log in securely using their email and password. Dashboard: View a list of wines with options to add, edit, and view details. Add Wine: Add new wines to the collection, including name, type, varietal, year, and an optional image upload. Edit Wine: Modify existing wine details, including name, type, varietal, year, and image. View Wine: Access detailed information about each wine in the collection. Responsive Design: The application is designed to be responsive and accessible on various devices.

Technologies Used: Frontend: React.js, Axios, Tailwind CSS Backend: Express.js, PostgreSQL, pg (PostgreSQL client), CORS Other: Next.js (for routing), FileReader API (for file upload)

Backend API Endpoints:

POST /login: Endpoint for user authentication.

GET /dashboard: Endpoint to retrieve the list of wines.

POST /dashboard/addWine: Endpoint to add a new wine to the collection.

POST /dashboard/editWine/:id: Endpoint to fetch details of a specific wine for editing.

PUT /dashboard/editWine/:id: Endpoint to update details of a specific wine.

Contributing: Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

Fork the repository. Create your feature branch (git checkout -b feature/new-feature). Commit your changes (git commit -m 'Add new feature'). Push to the branch (git push origin feature/new-feature). Open a pull request.

License: This project is licensed under the MIT License. See the LICENSE file for details.

Author: Simelane Sibusiso

my-wine-app's People

Contributors

sibusiso07 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.