Giter Site home page Giter Site logo

website-server's Introduction

๐Ÿ—„ Website-Server

Database and Server For My Personal Website

๐Ÿง—๐Ÿป Introduction

Every great website needs a good backend to host its content and my website shall be no different. While my website will be designed in react via JS, I wanted to push myself to step outside my comfort zone to try and build a server from scratch as well. Because my coding background mostly originates around Swift, initially I thought it would be fun to try and learn some server side swift using frameworks like Vapor to drive my server forward. However, as I said, this project is all about pushing myself so push I shall. Likewise my goal with this server is to build it from the ground up with a very easy to use framework called Flask using python. In addition I will attach a database to it via sqlalchemy and use it to store all of my data.

For Hosting and Deployment I really want to step out of my comfort zone. So my goal is to learn about and deploy a docker image on AWS using something like elastic-beanstalk. To really tie everything together nicely I would love to sync my github repo with my docker repo so that any change on master causes docker to recreate the docker-image. After this I would finally love to have docker alert the elastic beanstalk server via webhook and cause the server to update and reinstall every time a change is pushed up to it. This is definitely a reach goal but something I am striving to accomplish.

๐Ÿง If this is your actual backend then why is it public?

Great question. While the goal is to make this my actual backend, I really think the code here not only displays my ability to code in languages other than Swift (the main language I've used on my github), but I also hope to make it an easy how-to-guide for anyone looking to learn about backend servers or designing websites from scratch. And hopefully it does just that :)

๐Ÿงฎ Current Status of Project

  • Initialize Github Repo
  • Setup Flask
  • Setup Sql-Alchemy
  • Setup User authentication route
  • Setup Article Post routes
  • Add Support for sending and storing photos
  • Setup up for production deployment
  • Configure with docker for speedy updates
  • Setup and deploy on AWS
  • Setup Redudant Servers for stronger reliability

Dependencies Used in the Making of this Server ...

Originally I was using

  • Flask
  • Marshmallow
  • SQLAlchemy

However I found a very thorough guide from Flask that talks about building and deploying production-level Flask applications and have sinced been building my server that way. Now I am Using:

  • Flask
  • SQLite3
  • Werkzeug Security
  • Flask Blueprints for routing

website-server's People

Contributors

sdub18 avatar

Watchers

 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.