Code Monkey home page Code Monkey logo

simple-backend's Introduction

Simple Backend

This is a basic backend project, primarily designed for testing purposes. Please note that much of the codebase is not suitable for production use. If you're looking for a production-ready backend, consider other alternatives or ensure that you refactor and test the code thoroughly before deploying.

Notes

This backend is for testing purposes only. It's crucial to understand that it's not optimized or secured for production use.

I will not be using any boilerplate and I will be limiting my use on third-party wrappers. Instead, opting to create my own.

Prerequisites

  • Ensure you have Node.js installed.
  • This project uses the yarn package manager. If you don't have it installed, you can get it here.

Getting Started

  1. Clone the repository:

    git clone https://github.com/dantekelly/simple-backend.git
    cd simple-backend
  2. Install dependencies:

    yarn install
  3. Run the server in development mode:

    yarn dev

    This will start the server on port 5050.

Available Scripts

  • Test the server:

    yarn test
  • Build the server:

    yarn build

Important Notes

  • The server runs on port 5050. Ensure that this port is available on your machine or modify the configuration to use a different port.

Contributing

If you find any issues or areas of improvement, feel free to open an issue or submit a pull request. Any contributions are welcome!

Todo

  • Create a basic REST API
  • Integrate with PlanetScale MySQL database
  • Integrate TMDB API for data collection
  • Add basic CRUD operations
  • Add basic GraphQL API
  • Add real-time subscriptions
  • Add rate-limiting with Redis
  • Add authentication
  • Add redis caching
  • Add logging
  • Add CI/CD
  • Add Dockerfile/Docker Compose file
  • Add Chaos Tests

simple-backend's People

Contributors

dantekelly avatar

Watchers

 avatar  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.