https://github.com/devinceble/books.api
API for Books - A repository for Introduction to cross platform native mobile app using React Native APP: https://goo.gl/qRHSEF
https://github.com/devinceble/books.api
api expressjs react-native rest-api
Last synced: about 1 month ago
JSON representation
API for Books - A repository for Introduction to cross platform native mobile app using React Native APP: https://goo.gl/qRHSEF
- Host: GitHub
- URL: https://github.com/devinceble/books.api
- Owner: devinceble
- Created: 2017-12-19T03:56:09.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-27T16:09:19.000Z (about 8 years ago)
- Last Synced: 2025-01-05T22:26:30.275Z (about 1 year ago)
- Topics: api, expressjs, react-native, rest-api
- Language: Ruby
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Introduction to cross platform native mobile app using React Native API
*** Install MongoDB: https://goo.gl/xEotYP ***
*** Source Code: https://git.io/vbiLi ***
*** App Source Code: https://goo.gl/dcJszC ***
## Using API
---
### golang
```bash
cd go
# bash set GOPATH
$ export $GOPATH=$(pwd)
# install dependencies
$ go get gopkg.in/mgo.v2
$ go get github.com/go-martini/martini
$ go get github.com/martini-contrib/binding
# run martini
$ go run main.go
```
---
### python
```bash
$ cd python
# Use python pip to install requirements
$ pip install -r requirements.txt
# export FLASK_APP env
$ export FLASK_APP=main.py
# run flask
$ flask run --port=3000
```
---
### ruby
```bash
$ cd ruby
# use gem to install bundler
$ sudo gem install bundler
# use bundler to install dependencies
$ bundle install --path vendor/bundle
# run sinatra
$ bundle exec ruby main.rb
```
---
### node
```bash
$ cd node
# use yarn or npm to install packages
$ yarn install
# run express
$ node index.js
```
---