m0rniac / reactjs-blogsite

A blogsite builded with ReactJS (NextJS)

Home Page:https://reactjs-blogsite.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReactJS & NextJS Blogsite (La Hora Libre)

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

API Reference

All blog articles were generated using the Barlow AI Engine, which is now deprecated

'GET' removed for this repository

  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.

Deployment

  • 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

.

About '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

More info:

Feedback

If you have any feedback, please reach out to me at:

instagram

portfolio

About

A blogsite builded with ReactJS (NextJS)

https://reactjs-blogsite.vercel.app

License:MIT License


Languages

Language:JavaScript 97.7%Language:CSS 1.7%Language:Python 0.4%Language:SCSS 0.2%