Skip to content

Individual back end challenge for the International Fem Hackaton (Jan 2022)

Notifications You must be signed in to change notification settings

jempico/femhack_backend_challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Computerwoman Challenge

A CLI app built with NodeJS for the International Fem Hack 2022

Table of Contents
  1. About The Project
  2. Stack used
  3. User Stories
  4. Installation
  5. Requirements
  6. Results
  7. Contact

About The Project

During the International Fem Hack held in Jan 2022 in Barcelona, and as part of the Back End Challenge, I built a CLI app to send the information about ballistic trajectories and compute them as fast as possible:

Compute the maximum height of the projectile: h_max = ( v0 * v0 ) / ( 2 * g )

Compute the maximum traveled distance x_max = 2 * v0 * sin(alpha) / g

Stack Used

✔️ NodeJS
✔️ Inquirer package

User Stories

✅ Task 1 → Introduce the data using the command line

✅ Task 2 → Select the way to introduce the data (JSON or Manual)

✅ Task 3 → Compute the maximum height of the projectile

✅ Task 4 → Compute the maximum traveled distance

✅ Task 5 → Save the computed data (Inputs + Results) into a file

Installation

To get a local copy up and running follow these simple steps.

  1. Clone the repo
    git clone https://github.com/jempico/femhack_backend_challenge.git
  2. Install NPM packages
    npm install
  3. Run
    npm start

Requeriments

An input.json file is already included in the root directory, to simulate how the app works with JSON files. In case you want to add your own one, make sure to meet the following requirements:

{"input": [
     {"alpha": 10, "v0": 20},
     {"alpha": 3, "v0": 6},
     {"alpha": 4, "v0": 9},
     {"alpha": 15, "v0": 15}
]}

Results

Here are some screenshots of the results obtained:
Screenshot 2022-01-28 at 10 10 47
Screenshot 2022-01-28 at 10 08 19
Screenshot 2022-01-28 at 10 08 40

Contact

Jemimah Pico - Portfolio - Linkedin - jpfilarca@gmail.com

Project Link: https://github.com/jempico/femhack_backend_challenge

About

Individual back end challenge for the International Fem Hackaton (Jan 2022)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages