This is a backend project that utilizes backend and database technologies such as Express, Knex, and Postgres to make a clone of the popular blogging website Tumblr.
Technology | Purpose |
---|---|
Knex.js | A "batteries included" SQL query builder for Postgres, MSSQL, MySQL, MariaDB, SQLite3, Oracle, and Amazon Redshift designed to be flexible, portable, and fun to use |
Node.js | Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. |
Express | A node.js web application framework used to develop features for our web application |
Passport.js | Passport.js was used to develop a local strategy for authentication. |
Mustache.js | Mustache.js is a logic-less templating system we used for creating the HTML for our site. |
PostgreSQL | PostgreSQL as our database to store data |
Postico | A PostgreSQL client for macbooks |
Passport-facebook | Passport-facebook was used as a secondary authentication strategy |
Travis CI | Automated testing |
Standard JS | Syntax check and test with Travis CI |
faker JS | Generate fake data for users and posts |
https://digitalcrafts-tumblr-clone.herokuapp.com
Clone this repository, install the technologies above.
Available Scripts
In the project directory, you can run these scripts in the following order:
npm install
to install node modules folder,
npx knex migrate:latest
to install most recent database schema,
npx knex seed:run
to initialize database, and
npm start
to start express.js server on port 4000
- Ability to search for posts
- Post text and quote post
- Delete posts
- Log in via local authentication and Facebook
- Ability to create your own account
- Creating tables using migration and seeds
- Querying data from a database
- Creating templates for html
- User authentication with local and facebook
- Website hosting on heroku with PostgresQL