Giter VIP home page Giter VIP logo

nodebackend's Introduction

Backend for Annadata

code style: prettier MIT

Backend of Annadata

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Your machine should have Npm(or Yarn) and Node.js installed to use it locally.

Setup and Installation

Setting up the repository locally

  1. First fork the repo ๐Ÿด to your account.
    Go to the forked repo and clone it ๐Ÿ‘ฅ to your local machine:
git clone https://github.com/Your_Username/NodeBackend.git

This will make a copy of the code to your local machine.

  1. Now move to the NodeBackend directory.
cd NodeBackend
  1. Now check the remote of your local code by:
git remote -v

The response should look like:

origin	https://github.com/Your_Username/NodeBackend.git (fetch)
origin	https://github.com/Your_Username/NodeBackend.git (push)

To add upstream to remote, run:

git remote add upstream https://github.com/AnnadataHackfest/NodeBackend.git

Again run git remote -v, the response should look like:

origin	https://github.com/Your_Username/NodeBackend.git (fetch)
origin	https://github.com/Your_Username/NodeBackend.git (push)
upstream	https://github.com/AnnadataHackfest/NodeBackend (fetch)
upstream	https://github.com/AnnadataHackfest/NodeBackend (push)
  1. Once the remote is set, install all the necessary dependencies by the following command:
npm install

Run locally

Run the below command to start the server:

npm run dev

Go to: http://localhost:5000

Tech stack

  • Used Ambeedata API for realtime information about soil, pollen, fire alert, air quality, water vapour and weather information.

  • Used Open Weather API for weather forecast

  • Used Twilio for sending SMS

  • Used Node Mailer for sending email

  • Used Cloudinary for storing media files like photos and videos

  • Used MongoDB for database

  • Used JWT for secure authentication

nodebackend's People

Contributors

aman-codes avatar grumpyyash avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

grumpyyash

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.