Skip to content

omnicoders/omni-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Omni Coders JSON API

Demo available at https://omnicodersapi.codehesion.tech/.

Install

Clone

From your terminal:

git clone https://github.com/omnicoders/omni-api.git

Install Modules

npm install

Run

cd omni-api && clear && node server

Configure

In local development, the environment variables are expected to be located in /config/env.js which is not included in the git commit as it contains secure information not to be shared with the public.
In production the environment variables should be applied prior to deployment.
Below is an example that you can fill out and save to /config/env.js:

// /config/env.js
process.env.DB_USERNAME = "myDbUsername";
process.env.DB_PASSWORD = 'myDbPassword';
process.env.DB_URI = 'ds123456.mlab.com:12345/mydbname';
process.env.JWT_SECRET = 'mySuperSecretPasswordPhrase';

About

A JSON API for Omni Coders.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published