GithubHelp home page GithubHelp logo

myrecipe's Introduction

Recipe Application

Overview

This is a Recipe Application built using React.js and json-server as a fake API. The application allows users to view, add, update, and delete recipes.

Table of Contents

Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js
  • npm (Node Package Manager)
  • json-server (for simulating an API server with data)

Installation

  1. Clone the repository:
git clone https://github.com/mibanas/MyRecipe.git
  1. Navigate to the project directory:
cd MyRecipe
  1. Install project dependencies.
npm install
  1. Install JSON Server
npm install -g json-server
  1. Create a folder & file like this in : src/Data/db.json file

  2. Add server to scripts in package.json

"scripts": {
...
"server": "json-server --watch db.json --port 5000"}
  1. Start the server
npm run server
  1. Launch the React application.
npm start

The application will be accessible at http://localhost:3000/. & the server will be running at http://localhost:5000

Dependencies

List of project dependencies:

  • @fortawesome/fontawesome-svg-core
  • @fortawesome/free-brands-svg-icons
  • @fortawesome/free-solid-svg-icons
  • @fortawesome/react-fontawesome
  • axios
  • json-server
  • react
  • react-dom
  • react-icons
  • react-router-dom
  • sweetalert2
  • sweetalert2-react-content
  • web-vitals

Dev Dependencies: List of development dependencies:

  • tailwindcss
  • vite
  • webpack
  • webpack-cli

Author

Learn More

Contributing

If you would like to contribute to this project, please follow the Contribution Guidelines.

If you find issues or want to contribute, follow these steps:

  1. Fork the project.
  2. Create a branch for your feature: git checkout -b feature/NewFeature.
  3. Commit your changes: git commit -m "Add New Feature".
  4. Push to the branch: git push origin feature/NewFeature.
  5. Open a pull request.

License

This project is licensed under the MIT License.

Feel free to customize this template according to your project's specific details and structure.

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.