This is a simple project of a Stardew Valley Characters CRUD with Node.js and data storage in local files. The project is originally from a chapter of the course Imersão em desenvolvimento de APIs com Node.js created by Erick Wendel. Therefore, the code was written while I followed the lessons, however I've changed a few aspects, such as adding JSON Schema Validation to the tests and taking some decisions to make the file manipulation class more generic.
A little bit of what's inside the project:
- Mocha, chai and chai-json-schema-ajv to develop and automate testing.
- Commander.js to create an interface through command line tools.
After cloning or downloading this repository, just run on terminal: npm install
And then, if you want to run the tests: mocha
or npm t
Finally, in order to manipulate the file and the characters database: node index.js -h
.
I'm a student and I really would like to hear case you have any tips, correction suggestions or comments about any my of projects (🤓).