Giter VIP home page Giter VIP logo

mushfiqurniazzz / mern-react-native----calculator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 311 KB

This MERN app allows users to perform simple calculations, featuring functionalities for adding,subtracting or multiplying, and also perform divisions with decimals saving every single calculation in MongoDB.

JavaScript 100.00%
calculatorapp expo expressjs full-stack mern-stack mongodb mongoose nodejs reactnative rest-api appdevelopment dotenv mern-stack-development mongodb-database mongoosejs

mern-react-native----calculator's Introduction

Simple MERN Calculator with React Native

Screen Shot of the App's UI

This MERN app allows users to perform simple calculations, featuring functionalities for adding,subtracting or multiplying, and also perform divisions with decimals saving every single calculation in MongoDB. It uses MongoDB as the database to store calculation data, Express.js for handling server-side logic, React.js[React Native] for building the user interface, and Node.js for server-side runtime environment. The app provides a seamless experience for users to perform calculations and save them.

Running the Project Locally

To run this project on your local machine, follow these steps:

  1. Clone the Repository: Clone this repository to your local machine:

    git clone <repository_url>

  2. Navigate to Project Directory: Move into the project directory:

    cd <project_directory>

  3. Install Dependencies: Install the necessary dependencies using npm or yarn:

    npm install

    or

    yarn

  4. Setup Environment Variables: Create a .env file in the root of your project directory and add the following variables:

    MONGODB_URI=your_mongodb_uri PORT=5000 CLIENT_PORT=3000

    Replace your_mongodb_uri with your MongoDB connection URI. Customize the PORT and CLIENT_PORT variables if needed.

  5. Start the Development Server: Run the following command to start the development server:

    npm start

  6. Access the App: Open your web browser and navigate to http://localhost:3000 to access the app. You can now use the app locally on your machine, connected to your MongoDB database using the URI specified in the .env file.

  7. Note: The project may not work if you do not install dependencies in both front end and backend. So you would have to apply step 2 and 3 twice, once in frontend and once in backend.

mern-react-native----calculator's People

Watchers

Mushfiqur Rahman 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.