Skip to content

magdy-zon/aprendizapp-backend

Repository files navigation

Aprendizapp Backend

Working with the project

Install the dependencies.

npm run init

Load the env variables.

Create a bash file with the name <fileName>.sh and add your own configuration. You can use the reference in runserver.sh.example file.

If you are in Windows console run it with:

source  <fileName>.sh

If you are in a Unix console, you can use:

source  <fileName>.sh

Run the project.

npm run start

You should see the next output:

lerna notice cli v5.1.0  
lerna info Executing command in 1 package: “npm run start”  
@clean/api: > @clean/api@1.0.0 start  
@clean/api: > node -r ts-node/register ./dist/server.js  
@clean/api: info: the database connection to mongodb://127.0.0.1:27017 aprendizapp-be has been successfully  
@clean/api: info: init cors config  
@clean/api: info: Server listening on port 3140

Layered Architecture

"The most common architecture pattern is the layered architecture pattern, otherwise known as the n-tier architecture pattern. This pattern is the de facto standard for most Java EE applications and therefore is widely known by most architects, designers, and developers. The layered architecture pattern closely matches the traditional IT communication and organizational structures found in most companies, making it a natural choice for most business application development efforts."

-- O'Really

sapr_0101

About

API RESTful using a Layered Architecture

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published