Skip to content

Node.js,express,mongoDB,ejs template engine and vanilla js for the client side

Notifications You must be signed in to change notification settings

hidding-dev/Fullstack-Node-Application

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fullstack-Node-Application

Clone the project with git clone
npm install
cd app/
make a configuration file
example config.js on the root app/ structure

module.exports = {
    ENV: process.env.NODE_ENV || 'development',
    PORT: process.env.PORT || 3002,
    URL: process.env.BASE_URL || 'http://localhost:3002',
    MONGODB_URI: process.env.MONGODB_URI || "mongodb://<username> <password> /database name>"
}

and the import on server.js file

const config = require('./config');

Run the server with

  • node server.js
  • nodemon server.js

Added mongoDB database,get and post method route,tested for now with postman,client representation,client validation on test,contact page
You can see the raw json from the database on /api and /api/contact
In order to search weather you need an appid from openweather api
For the tv-show search bar you don't need an appid or key in order to search tv shows
Slowly refactoring the webapp's style with grid css3 [about page and test page]
Work on Progress

About

Node.js,express,mongoDB,ejs template engine and vanilla js for the client side

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 47.1%
  • HTML 30.9%
  • CSS 22.0%