GithubHelp home page GithubHelp logo

davidbonelo / david-park Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 328 KB

Tech challenge to enter a SOFtwareKAizen company

Home Page: https://salitre.davidbonelo.com/

TypeScript 96.45% Dockerfile 2.19% HTML 1.35%
express mongodb nodejs rest-api

david-park's Introduction

Salitre park API

A RESTful api of a amusement park game.

Requirements

  • NodeJS version 16.20.1 or above
  • A MongoDB database version 3.6 or above (Atlas also works)

Building

  • Find or create your database connection string

  • Create a .env file in the root folder and populate it with the same keys as in the provided .env.example

  • Run the following command to build the project.

npm install
npm run build

The transpiled code will be located in the /dist folder.

  • To start the api run the following command:
npm run start

It will print a message with the base url for the api and the result of the database connection.

  • For development, you can instead run the project with live reloading:
npm run dev

david-park's People

Contributors

davidbonelo avatar dependabot[bot] avatar

Watchers

 avatar

david-park's Issues

Searching by id error handling when not found

findById throws an error instead of returning null when not found. Thank you typescript for not telling me , that why I'll learn go latter.

  • Sending mass emails breaks if one of the IDs is wrong.
  • Same for every endpoint with :id or when a id is sent in the body

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.