Giter VIP home page Giter VIP logo

blogapp's Introduction

Blog App

This is a simple React Native blog project that demonstrates CRUD (Create, Read, Update, Delete) operations. The project uses Axios for API requests, JSON Server as a mock API, and Ngrok for exposing the local server to the internet.

Getting Started

Prerequisites

Make sure you have the following tools installed on your machine:

Installation

  1. Clone the repository:

    git clone https://github.com/manishwild/blogapp.git
  2. Navigate to the project directory:

    cd react-native-blog
  3. Install dependencies:

    npm install

Usage

  1. Start the JSON Server:

    npm run json-server

    This will start the JSON Server and expose it through Ngrok.

  2. Update the API URL:

    Open src/api/api.js and update the BASE_URL to the Ngrok URL provided in the console.

  3. Run the React Native app:

    npm run android # or npm run ios

    This will launch the app on your connected emulator or device.

Features

  • Create a new blog post
  • Retrieve a list of all blog posts
  • View details of a specific blog post
  • Update an existing blog post
  • Delete a blog post

Technologies Used

  • React Native
  • Axios
  • JSON Server
  • Ngrok

Contributing

Feel free to contribute to the project by opening issues or creating pull requests. Make sure to follow the code of conduct.

License

This project is licensed under the MIT License - see the LICENSE file for details.

blogapp's People

Contributors

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