Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

AdeptMind/adept-interview-devops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample REST API repo for DevOps interview

This is a working

Requirements

  • Node and npm
  • mongodb deployment of some sort

Installation

  • Clone the repo: git clone git@github.com:adeptmind/adept-interview-devops
  • Install dependencies: npm install
  • Start the server: ENV_VAR=VAL npm start

Configuration

MONGO_URI=<full URI string for mongo db server>
PORT=<port of your server>

Testing the API

On a default install, triggering npm start will start the server on port 8080, you can then hit the /api route to get a hello message or the /api/bears route to perform RESTful operations on the bears resource

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published