Giter VIP home page Giter VIP logo

organica's Introduction

Organica - Full Stack E-commerce Project

Organica is a full-stack e-commerce project built using Spring Boot, MySQL, and React.js. It handles various operations on the server side, such as managing the shopping cart and other functionalities. For security, it utilizes JWT authentication and authorization using Spring Security.

Hits

Tech Stack

  • Backend Framework: Spring Boot
  • Frontend Framework: React.js
  • Database: MySQL

Prerequisites

To run this project locally, you need to have the following software installed:

  • JDK 17
  • Node.js
  • MySQL Server
  • Git

Features

  • User authentication and authorization using JWT
  • Product browsing and searching
  • Shopping cart management
  • Order placement and tracking
  • Razorpay Payment integration

Getting Started

  1. Clone the repository:

    git clone https://github.com/your-username/organica.git
    cd organica
  2. Set up the database:

    • Create a MySQL database and configure the connection details in backend/src/main/resources/application.properties file.
  3. Application Properties

    To configure the application properties, follow these steps:

    • Open the backend/src/main/resources/application.properties file.

    • Configure the MySQL database connection properties by updating the following lines:

      spring.datasource.url=jdbc:mysql://localhost:3306/organica
      spring.datasource.username=your-username
      spring.datasource.password=your-password
      

      Replace your-username and your-password with your MySQL database credentials.

    • (Optional) If you want to change the server port, update the following line:

      server.port=8080
      

      Replace 8080 with the desired port number.

    • Save the application.properties file.

  4. Backend Setup:

    • Navigate to the Server directory:

      cd server
    • Build and run the Spring Boot application:

      ./mvnw spring-boot:run

    The backend server should now be running on http://localhost:8080.

  5. Frontend Setup:

    • Navigate to the Client directory:

      cd Client
    • Install the dependencies:

      npm install
    • Start the React development server:

      npm start

    The frontend server should now be running on http://localhost:3000.

  6. Open your web browser and visit http://localhost:3000 to access the Organica application.

Contributing

Contributions are welcome! If you want to contribute to Organica, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature/bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your forked repository.
  5. Submit a pull request to the main repository.

Contact

If you have any questions or suggestions, feel free to contact the project maintainers:

organica's People

Contributors

vivekkakadiya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

organica's Issues

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.