The 'lahoralibre.com' project was a means of dissemination in Spanish powered by an Artificial Intelligence engine developed in El Salvador. The project had to be scrapped for multiple private reasons
However, this is the original Front-End repository available to anyone on the internet :D
All blog articles were generated using the Barlow AI Engine, which is now deprecated
GET $(local)/api/barlow
Parameter | Type | Description |
---|---|---|
api_key |
json |
(Required) Generate a new article. |
api_key |
img |
(Required) Scrapy a image without copyright, relasionated with the article. |
- Clone repository:
git clone https://github.com/m0rniac/reactjs-blogsite
cd reactjs-blogsite/
- Install dependencies:
npm install
.
- Run project (for testing):
npm run dev
or
- Build project (for production):
npm run build
.
The project uses the 13.4.4 version of NextJS, which in production generates the .next
folder by default (without index.html
file).
In some cases it could complicate the deploy, to change the build mode and generate a Static Project (with index.html
file) you must uncheck "output: 'export'" in the next.config.js
file like so:
const nextConfig = {
output: 'export',
images: {
unoptimized: true,
},
}
This will create an out
folder with the file "index.html" just like a ReactJS build. It should be mentioned that in some cases this modification could affect some functionalities of the project
If you have any feedback, please reach out to me at: