Giter Club home page Giter Club logo

academy-hackathon's Introduction

Welcome to InterviewBit Academy

Day 1 covers: (Find these inside week-0/day-1)

  • Bash
    • segregate_photos.sh: Segregate photos by years. Run this: cd week-0/day-1/photos and then run script like this: bash ../segregate_photos.sh
    • sleepy.sh: Play music for 15 mins and then turn off music. Run like this: bash sleepy.sh
    • Good resource for starting out with bash: https://linuxconfig.org/bash-scripting-tutorial-for-beginners
  • Git
    • git init: Initialize a git repository on local.
    • git add filename: Add a file to track it using git.
    • git commit: Create new version of your project.
    • git push origin master: Push your updated local code on remote git server, i.e Github in our case.
    • git clone https://github.com/interviewbit-academy/academy-hackathon: Clone a remote repository in your local machine.
    • Good resource to learn about git: https://www.atlassian.com/git/tutorials/what-is-version-control

Day 1 Assignment:

Download Dark Knight HD wallpapers using bash script from this URL:ย https://wallpapercave.com/dark-knight-hd-wallpaper

Steps:

  • Go to this URL: https://github.com/interviewbit-academy/academy-hackathon
  • Fork the repository. There is a fork button in top right
  • Clone the forked repo. Example: git clone https://github.com/shivtej1505/academy-hackathon. This will copy the codebase to your local filesystem
  • Add you script under day-1 in week-0. Do git add your_script.sh and git commit -m "some commit message"
  • Second last step is pushing it on remote git server i.e Github. Use this command: git push origin master
  • Final step is too make a Pull Request here: https://github.com/shivtej1505/academy-hackathon

Day 2 covers: (Find these inside week-0/day-2)

  • Git - few more important flows
    • Git recap: Checkout archived video for the example.
    • Branching and merging in git. How to make a pull request and review?
  • MVC using Flask as framework
    • What is virtual environment?
    • How data flows from server to client?
    • What is model, view & controller?

Day 3 covers: (Find these inside week-0/day-3)

  • MVC using Flask
  • CRUD
  • APIs

Day 3 Class Assignment:

Implement a ToDo app in Flask.

Steps:

  1. Go to this URL: https://github.com/interviewbit-academy/academy-hackathon
  2. Fork the repository. There is a fork button in top right
  3. Clone the forked repo. Example: git clone https://github.com/shivtej1505/academy-hackathon. This will copy the codebase to your local filesystem.
  4. Go to day-3 in week-0. Run this command: source setup.sh. This will setup virtual environment and install flask.
  5. Create a new branch: git checkout -b YOUR_BRANCH_NAME
  6. Implement the basic page. Add you files in git. Commit you code and push using this command: git push origin YOUR_BRANCH_NAME
  7. Go to your forked repo. Make a pull request in master from the branch YOUR_BRANCH_NAME.
  8. Review your pull request. Merge it if it looks good. Repeat from step 5 until your project is finished.

Day 3 Homework:

  • Again go through Flask Tutorial(http://flask.pocoo.org/docs/1.0/tutorial/) with the knowledge of MVC.
  • Complete the ToDo App:
    • Connect Model with the DB.
    • Write view in separate file.
    • Add another parameter in URL num, which indicate how many todos a user want to view.
    • Make a pull request in original repository with screenshots.

academy-hackathon's People

Contributors

shivtej1505 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.