Skip to content

ship51/Javascript-Learning

Repository files navigation

Javascript-Learning

Learning Javascript from YouTube Channel: The Coding Train

Link of the playlist : https://www.youtube.com/playlist?list=PLRqwX-V7Uu6YxDKpFzf_2D84p0cyk4T7X

About this project

  • Data Selfie App A Web based application which takes the location, details (name, age) and picture of the user and stores in a database using the Javascript p5js library. The data is also retreivable at the user end who can view all the entries stored in the database.

    PS: The server is enabled using node.js and is a prerequisite for running.

How to get started

(Make sure you are logged in to Git using your Github username and email using Git bash or CMD)

  1. Go to Command Prompt and clone the Repository using (not in double quotes) git clone <"link of the repo copied from the website"> The repository is saved in the same directory as the present working directory in command prompt.

  2. Install node.js to setup a virtual server.

  3. Open up VS Code (or install if you haven't yet). Has been fun to work with it, and I am really loving it, wish I had realised earlier!

  4. Open VS Code: You can even do step 1 now. Open the cloned repository or switch your directory using CMD.

  5. Type "node index.js" in Command Prompt to get the server up and running. A message "Listening at 3000" means that the server is set up successfully.

  6. Go to any browser, and type localhost:3000 in the address bar. This loads index.html in the public folder

  7. Edit your code in VS Code: add/ edit stuff

  8. Follow the steps to commit ✔️ :

    1. Stage your changes . git add .
    2. Commit your changes (name your commit in double quotes). git commit -m "Name of the commit"
    3. Push the committed changes into relevant branch git push origin <branch_name>

About

Working with data and APIs in Javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published