All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Git commands for Windows users, to fix issues with different newline formats (see README.md).
-
Changed default ports configuration to 3000 for frontend and 6000 for backend. Thanks to Loris Chastanet.
-
Breaking change: removed cutomized alias for imports in frontend.
- Moved
vite
and
@vitejs/plugin-react
as regular dependencies in frontend, and fixed imports in config. Thanks to Pierre Paillard.
Open an issue if you have any request/feedback :)
- Removed useless code in
package.json
files.
- Deployment workflows using CapRover. Thanks to Anthony Gorski.
- Compatibility with
npm
alternatives (yarn
,pnpm
...). Setconfig.cli
in rootpackage.json
with the wanted value.
-
Allowed usage
console.info
in ESLint configuration (front and back). -
Bumped dependencies versions. Thanks to Valentin Dupin.
-
Cleaned backend/src/app.js and removed public index.html file to avoid conflicts when serving react build.
-
Breaking change: removed setup script:
npm install
(or any other alternative) triggers apostinstall
script. -
Breaking change: removed models "autoloading": now managers should be instantiated manually in
backend/src/models/index.js
.
For example, given you created a FooManager.js
file to be associated with a foo
table,
you should add to index, after const models = {}
statement:
const FooManager = require("./FooManager");
models.foo = new FooManager();
models.foo.setDatabase(pool);
- Breaking change: renamed
connection
property of managers asdatabase
to be consistent with quests.
Managers methods should be fixed from:
findAll() {
return this.connection.query(`select * from ${this.table}`);
}
To:
findAll() {
return this.database.query(`select * from ${this.table}`);
}