ashokgelal / taskist

AdonisJS 5 from scratch

Home Page:https://adonismastery.com/courses/adonisjs-5-from-scratch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AdonisJS 5 from scratch

Source code for the AdonisJS 5 from scracth course project.

Getting started

Clone the project repository by running the command below:

# using SSH
git clone git@github.com:mezielabs/taskist.git
# using HTTPS
git clone https://github.com/mezielabs/taskist.git

After cloning, run:

npm install

Duplicate .env.example:

cp env.example .env

Build the application:

node ace build

Generate APP_KEY:

node ace generate:key

This will output a random string, which you will need to add inside .env.

Update environment variables:

// .env

APP_KEY=YOUR_GENERATED_KEY_COPIED_FROM_ABOVE
DB_CONNECTION=mysql
DB_HOST=localhost
DB_NAME=taskist
DB_USER=YOUR_DATABASE_USERNAME
DB_PASSWORD=YOUR_DATABASE_PASSWORD

Remember to update YOUR_DATABASE_USERNAME and YOUR_DATABASE_PASSWORD with your database details.

Rebuild the application:

node ace build

Run the migrations:

node ace migration:run

Finally, start the application:

node ace serve

and visit http://0.0.0.0:3333 to see the application in action.

Learn AdonisJS

Want to learn how to build projects like this with AdonisJS? Checkout Adonis Mastery, where you get to learn AdonisJS through practical screencasts.

About

AdonisJS 5 from scratch

https://adonismastery.com/courses/adonisjs-5-from-scratch


Languages

Language:TypeScript 99.8%Language:Shell 0.2%