Coder Social home page Coder Social logo

backendgonewild's Introduction

Backend Gone Wild v1.1

About

This backend was being developed for a web application that handles Erasmus application and enrolment process. However then turned into my personal project. There was a database implemented beforehand but I have disconnected and got creative with the usage of the memory and handling accounts. After the memory usage changed from a database to a shared local memory, then I wanted to change the implementation as it was a OOP developed application (I know that NodeJS is an OOP language. However I wanted it to be like the traditional OOP such as in Java or cpp).

About (Technical)

  • NodeJS 18.13.0 and TypeScript 4.9.4 is used in development. If we examine the db.ts file there was a PostgreSQL database connected beforehand but then disconnected.
  • For security first jwt's were used but than they added some complications on the backend because the frontend had some problems however the routed endpoints with (j!) tag are to be secured by a jwt.
  • TypeScript is used because it gives the impression of a statically typed language and feels more closer to the syntax of traditional OOP languages.

Memory

  • The data that should have been stored in db is now stored locally on secured shared variables. (NOTE: saving the state of these variables to be added. Simply can put them into JSON fromats and store it into a file or into a No SQL database (Mongo). Everyting is object oriented therefore implementing this behaviour is really easy.)

Routing

  • All the routing is done in "app.ts" file and the To Be Added endpoints are also in there however not yet implemented.

Installation and Executing

  • After downloading the source code, following block should be executed

    npm install
    
  • And for starting the application the following block is already configured

    npm start
    

backendgonewild's People

Contributors

alphaneker avatar

Watchers

 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.