The project you'll check out as you learn to develop modern websites in Learn JS The Hard Way.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Zed A. Shaw 3d274246e7 Fix up the Form so it's easier to use and more consistent. Rather than have Form load the schema it accepts a schema. That allows the page using Form to handle the errors and other things. Form is also not meant to be a great complex form but a starter form. 3 days ago
.git-hooks Created a git hook to catch the no-commit canary. 4 months ago
api Reworking how the validation and object cleaning system works so I can then also fix the Form to use FormField and the correct validation. 3 days ago
client Fix up the Form so it's easier to use and more consistent. Rather than have Form load the schema it accepts a schema. That allows the page using Form to handle the errors and other things. Form is also not meant to be a great complex form but a starter form. 3 days ago
emails Make sure the reset code is trimmed and fix the link in email buttons so it's white. 3 months ago
lib Fix up the Form so it's easier to use and more consistent. Rather than have Form load the schema it accepts a schema. That allows the page using Form to handle the errors and other things. Form is also not meant to be a great complex form but a starter form. 3 days ago
migrations Need these files for the improved media usage. 1 week ago
queues Notify the user of the IP and browser used to do password reset requests. 3 months ago
rendered Small fixes to the width of different things so they don't explode on full screen large monitors. 1 week ago
scripts Add some default log levels. 7 days ago
services Make it work on windows and use a hack to make the nv8 coverage actually output on ctrl-c. 2 months ago
socket Should be the last of the eslint complaints for the .js files. 4 months ago
static merged from zedshaw.games work 1 week ago
tests Trying to find a leaking user and failing but at least this is probably cleaner. 3 days ago
.eslintrc.json Tests now support coverage inside playwright. Next need to add coverage to the non-browser tests. 2 months ago
.gitignore Forgot I had to add in all the modified pages from the base project. 1 month ago
.stylelintrc.json Fixed up the bando svelte files. 4 months ago
README.md Simple readme on installing although it's probably not accurate yet. 1 week ago
knexfile.cjs Initial commit after ripping out the zedshaw.games specific things. 4 months ago
package-lock.json Upgraded packages so lock file has changed. 1 week ago
package.json Update to include the DANGER_ADMIN helper. 1 week ago
rollup.config.js Finally merged the code from the xor.academy work back into the project template. 3 months ago

README.md

Install

You can install the project with a few commands:

git clone git@git.learnjsthehardway.com:zedshaw/ljsthw-project-template.git yourproject
cd yourproject

Next you'll want to move the 'origin' to 'upstream' so you can have your own git repo, then rename the 'master' branch to 'ljsthw' so you know exactly what it is:

git branch -m master ljsthw
git remote rename origin upstream
git remote set-url upstream --push "This remote is read only."

Create your own branch for working on, I like to name mine dev:

git checkout -b dev

Create your origin pointing at your real git repo:

git remote add origin git@git.learnjsthehardway.com:USER/yourproject.git

Then create a branch for your work so you can freely work without worrying about infecting the LJSTHW source:

`` git push --set-upstream origin dev git pull -v


It should say `origin/dev` when you pull.  Now you're ready to work on your own, and pull changes from this project to update your code with new changes.

Install (Linux/OSX)
===

npm install . ./scripts/init.js