Michaels Coding Challenges

API Challenge

cd api_challenge

Must have node installed then when inside the folder api_challenge you can run:

Configure the database with a mongodb connection in a .env file

MONGODB_URI=mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]]
npm i
npm start

Once running you can load up Postman or Insomnia and test the routes

GET /api/tree POST /api/tree/

Minesweeper Challenge

cd minesweeper
ruby minesweeper_test.rb