Skip to content

FullStack Angular 8 applicacion with an API made in nodejs using express arquitecture and MongoDB as Database

Notifications You must be signed in to change notification settings

ERPG/Events-manager-app

Repository files navigation

Angular NodeJS MongoDB

Events Manager

Events app to manage your daily tasks.

Getting Started

This steps will get you through the setup process of installing and usage of the project.

Project installation guide

To ensure the best compatibility you may need node version of v10.16. We would recommend to use NVM (Node Version Manager) for this. You can find it Here.

Installation

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash

then you can run

nvm install `version`

After set node version run

yarn install

After installing all packages, since you need the api for the requests, we need to launch the node server that receive this requests.

The server use a MongoDB database, I suggest go to the Documentation and setup this before launch the server.

To launch node server, first compile your typescript files, make shure you have typescript installed globally.

To install Typescript global you can do

yarn add --global typescript

After that, to compile server files just

tsc

The compile server file will be at dist/out-tsc on index.js file.

node index.js

or if you have nodemon installed

nodemon index.js

To check if server is running, navigate to http://localhost:3000/

The app also use a Weather API. I also suggest go to the openWeatherMap docs, register and get an API KEY. This api key will be place in a .env file with the name of WEATHER_API_KEY.

To launch Angular server

yarn run start

And Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

That's it, you are good to go!

Running the tests

To run the tests

yarn run test

Built With

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

About

FullStack Angular 8 applicacion with an API made in nodejs using express arquitecture and MongoDB as Database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published