Git Product home page Git Product logo

csfintershipassessment2024's Introduction

CSF Software Developer Assessment 2024

Background

A simple social media web application that uses Dog API to randomly generate images. The API/backend was developed using Node.js, Express.js and SQLite. The frontend was developed with React and React-Router.

Instructions

API

  1. In a terminal, navigate to the api folder of this project.
  2. Run npm install to install the server's dependencies. (Only for first time use)
  3. Enter npm run dev to start the server. This will start on http://localhost:3000.

Client

  1. In a new terminal, navigate to the client folder of this project.
  2. Enter npm install to install the client's dependencies. (Only for first time use)
  3. Enter npm run dev to start the client. This will start on http://localhost:5173.

Discuss how the application and api could be extended and improved

  • Additonal routes could be added to provide functionalities such as deleting or editing posts (using DELETE or PATCH)
  • Rate limiting to protect API from DOS attacks
  • Login/authentication routes/middleware for sign-in/sign-up
  • Could implement caching on client or intermediary key-value datastore with Redis to retrieve data that infrequently changes

Discuss how the application and api should be deployed

  • Various hosting services such as Vercel, AWS, Netifly, GCP etc.
  • Could utilize FaaS (AWS Lambda or GCP Cloud Functions) to deploy less computationally heavy API/application
  • Could also containerize application with Docker and deploy on virtual machine (AWS EC2)

csfintershipassessment2024's People

Contributors

kipdec avatar strato67 avatar

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.