Git Product home page Git Product logo

cross-platform-workshop's Introduction

Workshop Project 04 - Installation and Usage Guide Prerequisites Before getting started, make sure you have the following software installed on your machine:

Java Development Kit (JDK) for Java Spring Boot. Node.js and npm for Next.js. Flutter SDK for mobile development. An Integrated Development Environment (IDE) for Java and JavaScript/TypeScript. Backend (Java Spring Boot) Step 1: Clone the Repository bash Copy code git clone cd Step 2: Configure Email Update the application.properties file in the backend project with the provided workshop email credentials:

properties Copy code spring.mail.username=[email protected] spring.mail.password=iebqtqjsfqzskuyf Step 3: Run the Backend bash Copy code ./mvnw spring-boot:run The backend should now be running at http://localhost:8080.

Frontend (Next.js) Step 4: Navigate to Frontend Folder bash Copy code cd frontend Step 5: Install Dependencies bash Copy code npm install Step 6: Configure API Endpoint Update the NEXT_PUBLIC_API_URL in the .env.local file with the backend API URL:

env Copy code NEXT_PUBLIC_API_URL=http://localhost:8080/api Step 7: Run the Frontend bash Copy code npm run dev The Next.js frontend should now be accessible at http://localhost:3000.

Mobile (Flutter) Step 8: Navigate to Mobile Folder bash Copy code cd mobile Step 9: Run the App bash Copy code flutter run Ensure an emulator or physical device is connected. The Flutter app should launch on the device.

Testing Payment Accounts Use the provided test accounts for payment testing.

Customer Accounts Email: [email protected] / [email protected] Password: Matkhau1 Store Account Email: [email protected] Password: Matkhau1 Visit PayPal Sandbox Activity to view payment results.

Conclusion The Workshop Project 04 is now set up with the backend, frontend, and mobile components ready to use. Refer to the specific sections for any troubleshooting or additional information. Happy coding!

cross-platform-workshop's People

Contributors

quankz1995 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.