stocksageAI_upgrade_1

This commit is contained in:
Flatlogic Bot 2025-07-02 05:06:07 +00:00
parent 0e3f541063
commit cb4671c3a0
24 changed files with 80 additions and 100 deletions

5
.gitignore vendored
View File

@ -1,3 +1,8 @@
node_modules/
*/node_modules/
*/build/
**/node_modules/
**/build/
.DS_Store
.env

View File

@ -129,7 +129,7 @@
<p class="tip">The application is currently launching. The page will automatically refresh once site is
available.</p>
<div class="project-info">
<h2>Build SaaS app that analysis stock in Nigeria</h2>
<h2>StocksageAI</h2>
<p>AI-powered SaaS for stock analysis and recommendations.</p>
</div>
<div class="loader-container">

View File

@ -1,6 +1,6 @@
# Build SaaS app that analysis stock in Nigeria
# StocksageAI
## This project was generated by [Flatlogic Platform](https://flatlogic.com).

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
#Build SaaS app that analysis stock in Nigeria - template backend,
#StocksageAI - template backend,
#### Run App on local machine:
@ -38,10 +38,10 @@
- Type this command to creating a new database.
- `postgres=> CREATE DATABASE db_build_saas_app_that_analysis_stock_in_nigeria;`
- `postgres=> CREATE DATABASE db_stocksageai;`
- Then give that new user privileges to the new database then quit the `psql`.
- `postgres=> GRANT ALL PRIVILEGES ON DATABASE db_build_saas_app_that_analysis_stock_in_nigeria TO admin;`
- `postgres=> GRANT ALL PRIVILEGES ON DATABASE db_stocksageai TO admin;`
- `postgres=> \q`
---

View File

@ -1,6 +1,6 @@
{
"name": "buildsaasappthatanalysisstockinnigeria",
"description": "Build SaaS app that analysis stock in Nigeria - template backend",
"name": "stocksageai",
"description": "StocksageAI - template backend",
"scripts": {
"start": "npm run db:migrate && npm run db:seed && npm run watch",
"db:migrate": "sequelize-cli db:migrate",

View File

@ -3,7 +3,7 @@ const os = require('os');
const config = {
gcloud: {
bucket: 'fldemo-files',
hash: 'ee24f1c4218f76f2439ec343363a5eab',
hash: 'afeefb9d49f5b7977577876b99532ac7',
},
bcrypt: {
saltRounds: 12,
@ -36,7 +36,7 @@ const config = {
},
uploadDir: os.tmpdir(),
email: {
from: 'Build SaaS app that analysis stock in Nigeria <app@flatlogic.app>',
from: 'StocksageAI <app@flatlogic.app>',
host: 'email-smtp.us-east-1.amazonaws.com',
port: 587,
auth: {

View File

@ -13,7 +13,7 @@ module.exports = {
username: 'postgres',
dialect: 'postgres',
password: '',
database: 'db_build_saas_app_that_analysis_stock_in_nigeria',
database: 'db_stocksageai',
host: process.env.DB_HOST || 'localhost',
logging: console.log,
seederStorage: 'sequelize',

View File

@ -107,7 +107,7 @@ const StocksData = [
score: 85.5,
market: 'nigeria',
market: 'us',
// type code here for "relation_many" field
@ -123,7 +123,7 @@ const StocksData = [
score: 78.3,
market: 'us',
market: 'nigeria',
// type code here for "relation_many" field
@ -139,7 +139,7 @@ const StocksData = [
score: 92.1,
market: 'nigeria',
market: 'us',
// type code here for "relation_many" field
@ -155,7 +155,7 @@ const StocksData = [
score: 88.7,
market: 'us',
market: 'nigeria',
// type code here for "relation_many" field
@ -165,7 +165,7 @@ const StocksData = [
const SubscriptionsData = [
{
type: 'premium',
type: 'freemium',
start_date: new Date('2023-10-01T00:00:00Z'),
@ -177,7 +177,7 @@ const SubscriptionsData = [
},
{
type: 'premium',
type: 'freemium',
start_date: new Date('2023-10-01T00:00:00Z'),
@ -189,7 +189,7 @@ const SubscriptionsData = [
},
{
type: 'premium',
type: 'corporate',
start_date: new Date('2023-10-01T00:00:00Z'),
@ -215,19 +215,19 @@ const SubscriptionsData = [
const OrganizationsData = [
{
name: 'Noam Chomsky',
name: 'Max von Laue',
},
{
name: 'Karl Landsteiner',
name: 'Archimedes',
},
{
name: 'William Harvey',
name: 'Gustav Kirchhoff',
},
{
name: 'Rudolf Virchow',
name: 'George Gaylord Simpson',
},
];

View File

@ -47,9 +47,9 @@ const options = {
openapi: '3.0.0',
info: {
version: '1.0.0',
title: 'Build SaaS app that analysis stock in Nigeria',
title: 'StocksageAI',
description:
'Build SaaS app that analysis stock in Nigeria Online REST API for Testing and Prototyping application. You can perform all major operations with your entities - create, delete and etc.',
'StocksageAI Online REST API for Testing and Prototyping application. You can perform all major operations with your entities - create, delete and etc.',
},
servers: [
{

View File

@ -1,6 +1,6 @@
const errors = {
app: {
title: 'Build SaaS app that analysis stock in Nigeria',
title: 'StocksageAI',
},
auth: {

View File

@ -25,7 +25,7 @@ services:
- ./data/db:/var/lib/postgresql/data
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
- POSTGRES_DB=db_build_saas_app_that_analysis_stock_in_nigeria
- POSTGRES_DB=db_stocksageai
ports:
- "5432:5432"
logging:

View File

@ -1,4 +1,4 @@
# Build SaaS app that analysis stock in Nigeria
# StocksageAI
## This project was generated by Flatlogic Platform.

View File

@ -76,9 +76,7 @@ export default function AsideMenuLayer({
>
<div className='text-center flex-1 lg:text-left lg:pl-6 xl:text-center xl:pl-0'>
<Link href={'/home'}>
<b className='font-black'>
Build SaaS app that analysis stock in Nigeria
</b>
<b className='font-black'>StocksageAI</b>
</Link>
{organizationName && <p>{organizationName}</p>}

View File

@ -17,9 +17,9 @@ export default function WebSiteFooter({ projectName }: WebSiteFooterProps) {
const borders = useAppSelector((state) => state.style.borders);
const websiteHeder = useAppSelector((state) => state.style.websiteHeder);
const style = FooterStyle.WITH_PROJECT_NAME;
const style = FooterStyle.WITH_PAGES;
const design = FooterDesigns.DEFAULT_DESIGN;
const design = FooterDesigns.DESIGN_DIVERSITY;
return (
<div

View File

@ -19,7 +19,7 @@ export default function WebSiteHeader({ projectName }: WebSiteHeaderProps) {
const style = HeaderStyle.PAGES_RIGHT;
const design = HeaderDesigns.DESIGN_DIVERSITY;
const design = HeaderDesigns.DEFAULT_DESIGN;
return (
<header id='websiteHeader' className='overflow-hidden'>
<div

View File

@ -140,9 +140,8 @@ function MyApp({ Component, pageProps }: AppPropsWithLayout) {
setStepsEnabled(false);
};
const title = 'Build SaaS app that analysis stock in Nigeria';
const description =
'Build SaaS app that analysis stock in Nigeria generated by Flatlogic';
const title = 'StocksageAI';
const description = 'StocksageAI generated by Flatlogic';
const url = 'https://flatlogic.com/';
const image = `https://flatlogic.com/logo.svg`;
const imageWidth = '1920';

View File

@ -24,7 +24,7 @@ import AboutUsSection from '../components/WebPageComponents/AboutUsComponent';
export default function WebSite() {
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
const bgColor = useAppSelector((state) => state.style.bgLayoutColor);
const projectName = 'Build SaaS app that analysis stock in Nigeria';
const projectName = 'StocksageAI';
useEffect(() => {
const darkElement = document.querySelector('body .dark');
@ -129,19 +129,14 @@ export default function WebSite() {
return (
<div className='flex flex-col min-h-screen'>
<Head>
<title>{`StockSageAI - Discover Undervalued Stocks with AI Insights`}</title>
<meta
name='description'
<title>{`StocksageAI - Discover Undervalued Stocks with AI Insights`}</title>
content={`Explore StockSageAI, the AI-powered platform that analyzes stocks in Nigeria and US markets using fundamental, technical, and sentiment data to identify undervalued stocks poised for growth.`}
/>
content={`Explore StocksageAI, the AI-powered platform that analyzes stocks in Nigeria and US markets using fundamental, technical, and sentiment data to identify undervalued stocks poised for growth.`}
</Head>
<WebSiteHeader
projectName={'Build SaaS app that analysis stock in Nigeria'}
pages={pages}
/>
<WebSiteHeader projectName={'StocksageAI'} pages={pages} />
<main className={`flex-grow bg-white rounded-none `}>
<HeroSection
projectName={'Build SaaS app that analysis stock in Nigeria'}
projectName={'StocksageAI'}
image={['AI analyzing stock charts']}
mainText={`Unlock Stock Potential with ${projectName}`}
subTitle={`${projectName} leverages AI to analyze stocks in Nigeria and US markets, identifying undervalued opportunities for rapid growth. Discover your next investment today.`}
@ -150,9 +145,9 @@ export default function WebSite() {
/>
<FeaturesSection
projectName={'Build SaaS app that analysis stock in Nigeria'}
projectName={'StocksageAI'}
image={['AI-driven stock analysis']}
withBg={1}
withBg={0}
features={features_points}
mainText={`Explore ${projectName} Features`}
subTitle={`Discover how ${projectName} empowers investors with AI-driven insights and tools to make informed decisions.`}
@ -160,14 +155,14 @@ export default function WebSite() {
/>
<PricingSection
projectName={'Build SaaS app that analysis stock in Nigeria'}
projectName={'StocksageAI'}
withBg={1}
features={pricing_features}
description={description}
/>
<AboutUsSection
projectName={'Build SaaS app that analysis stock in Nigeria'}
projectName={'StocksageAI'}
image={['Team collaborating on stock analysis']}
mainText={`Empowering Investors with ${projectName}`}
subTitle={`At ${projectName}, we harness the power of AI to provide investors with unparalleled insights into the stock market. Our mission is to simplify investment decisions and maximize growth potential.`}
@ -175,10 +170,7 @@ export default function WebSite() {
buttonText={`Learn More About Us`}
/>
</main>
<WebSiteFooter
projectName={'Build SaaS app that analysis stock in Nigeria'}
pages={pages}
/>
<WebSiteFooter projectName={'StocksageAI'} pages={pages} />
</div>
);
}

View File

@ -52,7 +52,7 @@ export default function Login() {
remember: true,
});
const title = 'Build SaaS app that analysis stock in Nigeria';
const title = 'StocksageAI';
// Fetch Pexels image/video
useEffect(() => {

View File

@ -5,7 +5,7 @@ import LayoutGuest from '../layouts/Guest';
import { getPageTitle } from '../config';
export default function PrivacyPolicy() {
const title = 'Build SaaS app that analysis stock in Nigeria';
const title = 'StocksageAI';
const [projectUrl, setProjectUrl] = useState('');
useEffect(() => {

View File

@ -5,7 +5,7 @@ import LayoutGuest from '../layouts/Guest';
import { getPageTitle } from '../config';
export default function PrivacyPolicy() {
const title = 'Build SaaS app that analysis stock in Nigeria';
const title = 'StocksageAI';
const [projectUrl, setProjectUrl] = useState('');
useEffect(() => {

View File

@ -21,7 +21,7 @@ import FaqSection from '../../components/WebPageComponents/FaqComponent';
export default function WebSite() {
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
const bgColor = useAppSelector((state) => state.style.bgLayoutColor);
const projectName = 'Build SaaS app that analysis stock in Nigeria';
const projectName = 'StocksageAI';
useEffect(() => {
const darkElement = document.querySelector('body .dark');
@ -67,17 +67,15 @@ export default function WebSite() {
<div className='flex flex-col min-h-screen'>
<Head>
<title>{`Contact StockSageAI Support`}</title>
<meta
<title>{`Contact StocksageAI Support`}</title>
name='description'
content={`Get in touch with StockSageAI for any inquiries, support, or feedback. Our team is here to assist you with your stock analysis needs.`}
/>
content={`Get in touch with StocksageAI for any inquiries, support, or feedback. Our team is here to assist you with your stock analysis needs.`}
</Head>
<WebSiteHeader
projectName={'Build SaaS app that analysis stock in Nigeria'}
/>
<WebSiteHeader projectName={'StocksageAI'} />
<main className={`flex-grow bg-white rounded-none `}>
<HeroSection
projectName={'Build SaaS app that analysis stock in Nigeria'}
projectName={'StocksageAI'}
image={['Customer support team ready']}
mainText={`Connect with ${projectName} Support Team`}
subTitle={`Have questions or need assistance? Our dedicated support team at ${projectName} is here to help you with any inquiries or feedback. Reach out to us today.`}
@ -86,23 +84,21 @@ export default function WebSite() {
/>
<FaqSection
projectName={'Build SaaS app that analysis stock in Nigeria'}
projectName={'StocksageAI'}
design={FaqDesigns.TWO_COLUMN || ''}
faqs={faqs}
mainText={`${projectName} Support FAQs `}
/>
<ContactFormSection
projectName={'Build SaaS app that analysis stock in Nigeria'}
projectName={'StocksageAI'}
design={ContactFormDesigns.WITH_IMAGE || ''}
image={['Email communication illustration']}
mainText={`Reach Out to ${projectName} `}
subTitle={`We're here to assist you. Contact us anytime, and our team will respond promptly to your inquiries. Your feedback is valuable to us at ${projectName}.`}
/>
</main>
<WebSiteFooter
projectName={'Build SaaS app that analysis stock in Nigeria'}
/>
<WebSiteFooter projectName={'StocksageAI'} />
</div>
);
}

View File

@ -24,7 +24,7 @@ import AboutUsSection from '../../components/WebPageComponents/AboutUsComponent'
export default function WebSite() {
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
const bgColor = useAppSelector((state) => state.style.bgLayoutColor);
const projectName = 'Build SaaS app that analysis stock in Nigeria';
const projectName = 'StocksageAI';
useEffect(() => {
const darkElement = document.querySelector('body .dark');
@ -114,17 +114,14 @@ export default function WebSite() {
<div className='flex flex-col min-h-screen'>
<Head>
<title>{`StockSageAI - Discover Undervalued Stocks with AI Insights`}</title>
<meta
name='description'
<title>{`StocksageAI - Discover Undervalued Stocks with AI Insights`}</title>
content={`Explore StockSageAI, the AI-powered platform that analyzes stocks in Nigeria and US markets using fundamental, technical, and sentiment data to identify undervalued stocks poised for growth.`}
/>
content={`Explore StocksageAI, the AI-powered platform that analyzes stocks in Nigeria and US markets using fundamental, technical, and sentiment data to identify undervalued stocks poised for growth.`}
</Head>
<WebSiteHeader
projectName={'Build SaaS app that analysis stock in Nigeria'}
/>
<WebSiteHeader projectName={'StocksageAI'} />
<main className={`flex-grow bg-white rounded-none `}>
<HeroSection
projectName={'Build SaaS app that analysis stock in Nigeria'}
projectName={'StocksageAI'}
image={['AI analyzing stock charts']}
mainText={`Unlock Stock Potential with ${projectName}`}
subTitle={`${projectName} leverages AI to analyze stocks in Nigeria and US markets, identifying undervalued opportunities for rapid growth. Discover your next investment today.`}
@ -133,9 +130,9 @@ export default function WebSite() {
/>
<FeaturesSection
projectName={'Build SaaS app that analysis stock in Nigeria'}
projectName={'StocksageAI'}
image={['AI-driven stock analysis']}
withBg={0}
withBg={1}
features={features_points}
mainText={`Explore ${projectName} Features`}
subTitle={`Discover how ${projectName} empowers investors with AI-driven insights and tools to make informed decisions.`}
@ -143,14 +140,14 @@ export default function WebSite() {
/>
<PricingSection
projectName={'Build SaaS app that analysis stock in Nigeria'}
projectName={'StocksageAI'}
withBg={0}
features={pricing_features}
description={description}
/>
<AboutUsSection
projectName={'Build SaaS app that analysis stock in Nigeria'}
projectName={'StocksageAI'}
image={['Team collaborating on stock analysis']}
mainText={`Empowering Investors with ${projectName}`}
subTitle={`At ${projectName}, we harness the power of AI to provide investors with unparalleled insights into the stock market. Our mission is to simplify investment decisions and maximize growth potential.`}
@ -158,9 +155,7 @@ export default function WebSite() {
buttonText={`Learn More About Us`}
/>
</main>
<WebSiteFooter
projectName={'Build SaaS app that analysis stock in Nigeria'}
/>
<WebSiteFooter projectName={'StocksageAI'} />
</div>
);
}

View File

@ -21,7 +21,7 @@ import FaqSection from '../../components/WebPageComponents/FaqComponent';
export default function WebSite() {
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
const bgColor = useAppSelector((state) => state.style.bgLayoutColor);
const projectName = 'Build SaaS app that analysis stock in Nigeria';
const projectName = 'StocksageAI';
useEffect(() => {
const darkElement = document.querySelector('body .dark');
@ -111,17 +111,15 @@ export default function WebSite() {
<div className='flex flex-col min-h-screen'>
<Head>
<title>{`StockSageAI Pricing Plans`}</title>
<meta
<title>{`StocksageAI Pricing Plans`}</title>
name='description'
content={`Explore the flexible pricing plans of StockSageAI, designed to cater to individual investors, small businesses, and enterprises with AI-driven stock insights.`}
/>
content={`Explore the flexible pricing plans of StocksageAI, designed to cater to individual investors, small businesses, and enterprises with AI-driven stock insights.`}
</Head>
<WebSiteHeader
projectName={'Build SaaS app that analysis stock in Nigeria'}
/>
<WebSiteHeader projectName={'StocksageAI'} />
<main className={`flex-grow bg-white rounded-none `}>
<HeroSection
projectName={'Build SaaS app that analysis stock in Nigeria'}
projectName={'StocksageAI'}
image={['Diverse pricing plans illustration']}
mainText={`Choose Your ${projectName} Plan Today`}
subTitle={`Discover flexible pricing options with ${projectName} tailored to meet the needs of individual investors, startups, and enterprises. Unlock the power of AI-driven stock insights.`}
@ -130,22 +128,20 @@ export default function WebSite() {
/>
<PricingSection
projectName={'Build SaaS app that analysis stock in Nigeria'}
withBg={0}
projectName={'StocksageAI'}
withBg={1}
features={pricing_features}
description={description}
/>
<FaqSection
projectName={'Build SaaS app that analysis stock in Nigeria'}
projectName={'StocksageAI'}
design={FaqDesigns.ACCORDION || ''}
faqs={faqs}
mainText={`${projectName} Frequently Asked Questions `}
/>
</main>
<WebSiteFooter
projectName={'Build SaaS app that analysis stock in Nigeria'}
/>
<WebSiteFooter projectName={'StocksageAI'} />
</div>
);
}