For further information and development consult Loopback Documentation
git clone https://github.com/JonnyBGod/api-seed.git ./api
cd api
rm -rf .git
npm run git:setup
npm i
Now you are ready to start using it and developing
npm start
Files to take into account:
./server/config.json
./server/config.production.json
./server/datasources.json
./server/datasources.production.json
./server/datasources.test.json
./server/providers.json
./newrelic.js
REST_API_ROOT ('/api')
HOST ('0.0.0.0')
PORT (54447) (80)
URL ('http://localhost:54447/') ('https://api-seed.herokuapp.com/')
CLIENT_URL ('http://localhost:3000/') ('https://jonnybgod.github.io/web-seed/')
AWS_ACCESS_KEY_ID ('AKIAJPGY43MHFLHBSZ7A')
AWS_SECRET_ACCESS_KEY ('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')
AWS_REGION ('eu-west-1')
S3_BUCKET ('api-seed')
S3_ACL ('public-read')
NEWRELIC_APP_NAME ('api-seed')
NEWRELIC_LICENSE_KEY ('fc8201bbacbd2865d46d6a6cd53a5274b470b43d')
NEWRELIC_LOG_LEVEL ('info')
/explorer /slate /graphiql /visualize /modeldiagram
/explorer /slate /graphiql /visualize /modeldiagram
If you followed "How to use" procedure, you can take advantage of update made in this repo
npm run git:merge:preview
this command will not do anything. You will just see what changed would do if you use the next command
npm run git:merge
Now you just have to deal with conflits...
This project is intende for a specific structure:
npm run build:sdk:web
First change the name of the container at "build:docker" script in package.json
npm run build:docker
Content type
Image
Digest
Size
59.1 MB
Last updated
over 8 years ago
docker pull cloudtasks/api