Giter VIP home page Giter VIP logo

apiannie's Introduction

ApiAnnie

A lightweight web tool for API documentation and development

ℹ️ Api Annie is currently still in pre-release mode.ℹ️

Api Annie helps your team to co-ordinate easier when developing a product which needs API comunication, by going through the following steps:

  1. [Define] Define your API structure.
  2. [Mock] Frontend developer makes their prototype by using the mock server automatically generated by Api Annie.
  3. [Execute] Backend developer builds the backend services and test it by sending requests through Api Annie
  4. [Integrate] When both frontend and backend development are finished, let frontend switch communication from Api Annie to your backend server URL.

Installation

Cloud service

We recommend using our cloud service, where you can always get access to the latest features.

Manual installation

If you prefer deploying Api Annie in your own machine, run:

git clone [email protected]:apiannie/apiannie.git

cd apiannie

Then create a file named .env, which should contain the following environment variables:

DATABASE_URL="mongodb+srv://USERNAME:PASSWORD@HOST/DATABASE"
SESSION_SECRET="replace-it-by-random-string"

For more info about connection to MongoDB, please refer to this doc from Prisma

Then install dependency packages, and initalize database:

npm install
npx prisma db push

or if you are using yarn

yarn install
yarn prisma db push

Up to now, you have your environment successfully setup, to run Api Annie in dev mode:

npm run dev or yarn dev

To run in release mode:

npm run build
npm start

or if you are using yarn

yarn build
yarn start

Tech stack

License

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

apiannie's People

Contributors

jianbing-wang avatar wangjb2 avatar zengxinzhy 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.