Skip to content

Dmytro-Budynskyi/deno-drash-realworld-example-app

 
 

Repository files navigation

Drash Example App

This real world example application uses Deno, Drash, Vue, Webpack, PostgreSQL, and docker-compose.

Drash codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API

How to Run

  1. x86 chips

      sudo docker-compose build && sudo docker-compose up

    If case of "docker-compose" command not found, use this command

      sudo docker compose build && sudo docker compose up
  2. Apple silicon chips (M1, M2)

      sudo docker-compose -f docker-compose.m1.yml build && sudo docker-compose -f docker-compose.m1.yml up

Navigate to http://localhost:1667

Run with make commands

Also, you can run the project with Makefile (Unbuntu), (Windows, for Mac available by default) commands:

  make up
  make m1

Frontend login

There are a total of 100 users, with each user having the same password. Say we want to login as user 32:

Username: user32
Password: Userpass1
Email: [email protected]

Built With

  • Docker - Containerisation
  • Apache - Acts as how Apache can be used as a proxy server for Drash
  • Deno - Javascript and Typescript runtime
  • Drash - Web server
  • Vue - Frontend framework
  • Webpack - Bundling Vue
  • Postgres - Postgres driver for the applications database
  • Bcrypt - Hashing and comparing passwords
  • Rhum - Testing framework
  • Dmm - Module Manager for Deno to update our dependencies
  • Vue-input - Library used to help the display of article tags as 'pills', allowing them to be removed and added like a shopping cart
  • Cypress - Browser testing framework

About

Deno + Drash RealWorld example app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 63.4%
  • Vue 22.0%
  • JavaScript 13.3%
  • Other 1.3%