GithubHelp home page GithubHelp logo

vartikasaxena / talawa-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from palisadoesfoundation/talawa-api

1.0 1.0 0.0 17.16 MB

API Backend for the Talawa Mobile App

Home Page: https://palisadoesfoundation.github.io/talawa.github.io/

License: GNU General Public License v3.0

JavaScript 96.81% HTML 0.19% Makefile 0.29% Python 2.37% Batchfile 0.34%

talawa-api's Introduction

Talawa API

N|Solid

Talawa is a modular open source project to manage group activities of both non-profit organizations and businesses.

Core features to be developed include:

  1. Membership management
  2. Groups management
  3. Event registrations
  4. Recurring meetings
  5. Facilities registrations

This has been a Calico Challenge project in 2019. It will be written in python with close integrations with the Plone open source content management system.

Documentation

About Talawa

talawa is based on the original quito code created by the Palisadoes Foundation as part of its annual Calico Challenge program. Calico provides paid summer internships for Jamaican university students to work on selected open source projects. They are mentored by software professionals and receive stipends based on the completion of predefined milestones. Calico was started in 2015.

Installation

Prerequesites

Talawa API development prerequisites

Clone and change into the project

git clone https://github.com/PalisadoesFoundation/talawa-api.git
cd talawa-api

Install packages

npm install

To run the project in development mode, run the following command

npm run start

For testing, run the following command

npm run test

Start developing!

Environment Variables

To run this api five environment variables need to be set in a .env file in the root of the api:

  1. MONGO_USER
  2. MONGO_PASSWORD
  3. MONGO_DB
  4. MONGO_URL
  5. MONGO_LOCAL_INSTANCE
  6. ACCESS_TOKEN_SECRET
  7. REFRESH_TOKEN_SECRET
  8. LOCAL_DB_REQUIRES_AUTH

If you are running mongodb locally only the MONGO_DB and MONGO_LOCAL_INSTANCE env vars are necessary. MONGO_USER and MONGO_PASSWORD are only necessary if you are connecting to a hosted instance of mongodb using atlas. If your local mongodbb required auth set the LOCAL_DB_REQUIRES_AUTH var to true and ensure the MONGO_PASSWORD and MONGO_USER vars are set

Image Upload

To enable image upload functionalities create an images folder in the root of the project

Configuration with Frontend

View how to configure backend with the flutter app

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.