Giter Club home page Giter Club logo

birder's Introduction

Birder

Birder is a convinient clone of Twitter.

Setup

  1. Clone the repository.
git clone https://github.com/toksaitov/birder.git
  1. Create the .env file specifying the database and web server configuration parameters.
# Inside .env file...

# Database Configurations
BIRDER_DB_HOST=  
BIRDER_DB_PORT=
BIRDER_DB_NAME=
BIRDER_DB_USER=
BIRDER_DB_PASSWORD=
BIRDER_DB_DIALECT= # one of 'mysql' | 'mariadb' | 'postgres' | 'mssql'

# Web Server Configurations
BIRDER_PORT=

# Web App Configurations
BIRDER_ADMIN_LOGIN=
BIRDER_ADMIN_PASSWORD=
BIRDER_SESSION_SECRET=
BIRDER_PASSWORD_SALT_ROUNDS=
  1. Install all the dependencies.
npm install
  1. Start the server.
node index.js

Credits

Toksaitov Dmitrii Alexandrovich [email protected]

birder's People

Contributors

toksaitov avatar

Watchers

 avatar  avatar

Forkers

aijant

birder's Issues

Implement registration server logic.

  • Add a link to register.
  • Process the /register get request.
  • Process the /register post request.
  • Process registration error.
  • Setup bcrypt hashing lib.

Prepare the project repository.

  • Create the directory.
  • Create the .gitignore file.
  • Create the package.json file.
  • Add dependency info into package.json.
  • Add a basic Readme file.
  • Create the first commit.
  • Push to GitHub.

Create the main page.

  • Create the main page template with basic structural elements.
  • Include the list of twits.
  • Include the twit submission form.
  • Add statics (css or js files)

Create model for Users.

  • Create the User table.
  • Create relations between the User and the Twit tables.
  • Populate the User table with the admin user entry.

Create the server logic.

  • Find, install, setup the DB connector.
  • Add configuration management.
  • Setup a template engine.
  • Configure route handling in Express.
  • Switch to ORM from raw SQL queries

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.