diff --git a/README.md b/README.md index ecd2e08..fa5e9ba 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ + +# hashcode_web +This project is build to make coding knowledge available to every places through app and web. This is an online platform to learn different languages from the best hand-picked courses. +

website title image

discover best courses for the best learning

@@ -43,11 +47,34 @@ We got the inspiration of this idea with the help of our fellow friends who want
+ ## Community **[Code of Conduct](https://github.com/inaxia/attendance_using_face_recognition/blob/master/CODE_OF_CONDUCT.md)**
**[Contributing to Inaxia](https://github.com/inaxia/attendance_using_face_recognition/blob/master/CONTRIBUTING.md)** +## Steps to run + +1. Fork this repo +2. Clone the forked repo +3. Create a branch + +## For running the web + +Run the following command:
+1. `npm install nodemon`
+2. `nodemon app.js` + +You will get your local server hosted at port 3000. +You can change the port address in the app.js + + +If this doesn't work for you, then check if you have express installed in your system. + +Join us on Gitter:
+[![Gitter](https://badges.gitter.im/inaxia-group/hashcode-web.svg)](https://gitter.im/inaxia-group/hashcode-web?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) + + ## License ``` MIT License @@ -77,3 +104,4 @@ SOFTWARE. ## Support ![built with love](https://forthebadge.com/images/badges/built-with-love.svg)
**If you like our project, don't forget to give it a ⭐** + diff --git a/app.js b/app.js index 25b2a6f..fec9552 100644 --- a/app.js +++ b/app.js @@ -12,25 +12,26 @@ app.use(bodyParser.urlencoded({extended: true})); app.set('view engine', 'ejs'); -const { listData, videolinklist, hreftag } = require('./list.js') +const { listData, videolinklist, hreftag, listDatajavascript, videolinklistjavascript} = require('./list.js') let count = 0; app.get("/", function(req ,res){ - res.render("index",{videoListData: listData, hrefTag: hreftag, videoList: videolinklist, Count: count}); + res.render("index",{videoListData: listData, hrefTag: hreftag, videoList: videolinklist, videoListDatajavascript: listDatajavascript, videoListjavascript: videolinklistjavascript, Count: count}); }); + app.get("/video",function(req, res){ const { cppvideolink } = require('./list.js') // for( var i=0;i

Javascript

-